TypeScript supports the following data types:
Enum
enum Color {Red, Green, Blue}; var c: Color = Color.Green;
Any var unknownType: any = 4;
Void
function NoReturnType(): void { }
I need to reuse my Javascript module in typescript for my angular application. Can you guide me how to do that ?