You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when I set it to generate classes instead of interfaces and then set those classes to be global, it creates the class without an "export" expression. This results in the following compiler error and makes the classes more difficult to consume:
TS1046 (TS) Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
Can you please add the word "export" before global classes?
Thanks!
The text was updated successfully, but these errors were encountered:
I also have the same issue because I would like to use this extension for synchronizing my C# DataObjects into exported TypeScript interfaces in a common c# class library.
The generating of the interfaces works great, but for using in an other project I have to add "export".
Is it already being considered to solve this issue?
In general I think this extension is very helpfully, thanks a lot.
Thanks for putting this tool together!
I noticed that when I set it to generate classes instead of interfaces and then set those classes to be global, it creates the class without an "export" expression. This results in the following compiler error and makes the classes more difficult to consume:
TS1046 (TS) Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
Can you please add the word "export" before global classes?
Thanks!
The text was updated successfully, but these errors were encountered: