We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following code:
/* file1.d.ts */ declare class Foo {} type Key = Key2 | number; type Key2 = string | Foo; /* file2.d.ts */ /// <reference path="file1.d.ts" /> declare function barKey(a: Key|number);
Is translated to:
/* file2.kt */ external fun barKey(a: Key): Unit external fun barKey(a: Number): Unit
While actually what I expect to see (and what happens when alias is in the same file):
external fun barKey(a: String): Unit external fun barKey(a: Foo): Unit external fun barKey(a: Number): Unit
The text was updated successfully, but these errors were encountered:
Register all typealiases in all source sets
2314118
see #73
fixed in 0.0.12
Sorry, something went wrong.
No branches or pull requests
Following code:
Is translated to:
While actually what I expect to see (and what happens when alias is in the same file):
The text was updated successfully, but these errors were encountered: