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
//@Filename: decls.ts // Ambient external module with export assignment declare module 'equ' { var x; export = x; } declare module 'equ2' { var x: number; } // Ambient external import declaration referencing ambient external module using top level module name //@Filename: consumer.ts /// <reference path="decls.ts" /> import imp1 = require('equ'); // Ambient external module members are always exported with or without export keyword when module lacks export assignment import imp3 = require('equ2'); var n = imp3.x; var n: number;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: