We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
TypeScript Version: 3.9.0-dev20200215
Search Terms: Namespace export rename
Code
a.ts:
export class Test { name = 5; }
b.ts:
export * as ns from "./a"; // <-- rename ns to nsTest
c.ts:
import { ns } from "./b"; const t = new ns.Test();
Expected behavior:
export * as nsTest from "./a";
c.ts (depends on setting "Rename Shorthand Properties" I think):
import { nsTest } from "./b"; const t = new nsTest.Test();
Actual behavior:
So, c.ts does not have any of its identifiers renamed.
The text was updated successfully, but these errors were encountered:
Doesn't seem to update in this scenario either:
import("./b").then(test => { new test.ns.Test(); });
Sorry, something went wrong.
Fixed in #39533
minestarks
jessetrinity
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
TypeScript Version: 3.9.0-dev20200215
Search Terms: Namespace export rename
Code
a.ts:
b.ts:
c.ts:
Expected behavior:
b.ts:
c.ts (depends on setting "Rename Shorthand Properties" I think):
Actual behavior:
b.ts:
c.ts:
So, c.ts does not have any of its identifiers renamed.
The text was updated successfully, but these errors were encountered: