csharp-to-js icon indicating copy to clipboard operation
csharp-to-js copied to clipboard

Generic properties could be created as their own imports

Open maxstralin opened this issue 6 years ago • 1 comments

Current behaviour serialises them straight into the JS file. Another option, which should be opt-in, could be to create a separate JS class for every found version of the generic class.

E.g. new Generic<string>() and new Generic<int>() could create Generic_string.js and Generic_int.js

maxstralin avatar Jul 14 '19 09:07 maxstralin

Does this make sense for Javascript or is it better to only to it for Typescript (#13)?

maxstralin avatar Aug 12 '19 13:08 maxstralin