typescript-generator icon indicating copy to clipboard operation
typescript-generator copied to clipboard

Inner classes namespaced to parent classes

Open crummy opened this issue 4 years ago • 0 comments

If I have a class like this:

class Foo {
   static class Bar { ... }
}

I'd like to access it in TypeScript with const bar: Foo.Bar = { ... } - JSweet does this but I'm not sure if it's possible with this typescript generator. Can you provide any advice?

crummy avatar Aug 18 '21 08:08 crummy