You can re-use an interface's property by extracting it using normal object access notation eg interface SomeInterface { usefulProperty: string | object {} } type newType = SomeInterface['usefulProperty'] // now newType is equal to string | ob...
Markdown supported · ⌘↵ to post
No responses yet.