ankushg
11/18/2021, 11:29 PM@JsExport
a typealias
? Have some complicated types that I'd love to be able to provide more readable names to in my .d.ts fileBig Chungus
11/18/2021, 11:36 PMBig Chungus
11/18/2021, 11:36 PMankushg
11/18/2021, 11:43 PMunsafeCast
to my new external interface which isn't the prettiest compared to how Kotlin handles typealiasesankushg
11/18/2021, 11:46 PMexport type MySimpleType = MyVeryLongAndComplexType
rather than export interface MySimpleType extends MyVeryLongAndComplexType { }
Defining the types as equal lets me also pass it in as input from TS to Kotlin/JS without TS getting angry