Closed Schahen closed 4 years ago
Following code
declare module "hey" { interface Api {} type App = Api; function createApp(): App; }
is converted to:
external interface Api external fun createApp(): App
And fails since App is not defined. However we used to move type aliases outside of JsModule-annotated file and this logic is obviously lost.
not a bug, was a build problem however investigation helped to pinpoint some different issues.
Following code
is converted to:
And fails since App is not defined. However we used to move type aliases outside of JsModule-annotated file and this logic is obviously lost.