Posts by xmaiconx • 31 points
2 posts
-
2
votes1
answer543
viewsA: typescript + type definition file (.d.ts) + enumeration (Enum)
I managed to solve my problem. I removed the file type.enumts. and created another definition (Enum.d.ts) containing the Numerators, referencing it in the necessary files, as it is not necessary to…
-
1
votes1
answer543
viewsQ: typescript + type definition file (.d.ts) + enumeration (Enum)
I am trying to create a definition file that uses an enumerator, defined in another file, and a declared variable (declare var) in the.ts file, but when referencing this file in another…