Latios96 / py-typescript-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse generic types

Latios96 opened this issue · comments

For collection types, the classes they contain also need to be parsed. For an List[SomeClass], SomeClass also needs to be parsed.

Consider the following collection types:

  • List
  • Set
  • Dict
  • Tuple
  • Union
  • FrozenSet
  • OrderedSet
  • namedtuple
  • DefaultDict

Maybe its a good idea to generify this for thing like Sequence / Mapping