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
Followup to #40228:
var NS = {} NS.K =class { values() { return new NS.K() } } exports.K = NS.K;
Expected behavior:
Should produce d.ts output:
declare namespace NS { class _K { values(): _K; } export {_K as K}; } import _K = NS.K; export {_K as K};
Actual behavior:
export var K: { new (): { values(): any; }; };
K
The declaration emitter just needs code to support this; right now it's hitting inaccurate fallback code.
The text was updated successfully, but these errors were encountered:
module.exports.x = x
sandersn
No branches or pull requests
Followup to #40228:
Expected behavior:
Should produce d.ts output:
Actual behavior:
K
properly.The declaration emitter just needs code to support this; right now it's hitting inaccurate fallback code.
The text was updated successfully, but these errors were encountered: