dsherret / dsherret/code-block-writer
Property generic types
Open
- Dominant language
- TypeScript
- Stars
- 218
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
If I have a class with a property, then I would like to get an array of all types with generic.
Example:
```
class A {
private test: GenericType>;
}
```
I would like to be able to call:
`classDeclration.getProperties()[0].getType().getAllTypes()` and return `['GenericType', 'AnotherType']` - could not find it in documentation and tried many methods from Type interface. In the end I am processing compilerNode for it
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.