- supports union types
- supports type literal
interface Order { position: { lat: number; lng: number; } // now supported }
- handles any keyword
- handles unknown keyword
- show full scoped type name
- before: 'Marker', now: 'google.maps.Marker'
- before: 'Box', now: 'Box'
- supports generic type with single type parameter
- supports parameterized type with single type argument
- output interface change:
- type reference from
'User'
to{ referenceName: 'User' }
- type reference from
- (for other transformers) export buildInterface(ts.Type, ts.typeChecker)
- type supports
- primitive types
- array
- type reference
- NOT supporting union types as intended for now