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
Hi I'm having a problem with writing ambient modules with declaration merging for the typings project (typings/typings#119).
I am trying to write decleration files for the expect-jsx library. I've previously written the expect declarations and have written the expect-jsx declarations. When I try to use these definitions the decleration merging fails unless I add a reference path to the module I want to merge with directly in the module. Does an ambient module have to have a direct reference to the module it's merging with? Isn't it enough to have both declerations referenced by another file? Is this expected behaviour or a bug?
Thanks In Advance
The text was updated successfully, but these errors were encountered:
See #4166.
Sorry, something went wrong.
@ahejlsberg Just one question will this work if I use the nightly build?
@andrew-w-ross, yes. you can find more documentation in https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript#augmenting-globalmodule-scope-from-modules
@mhegazy Thanks a lot.
No branches or pull requests
Hi I'm having a problem with writing ambient modules with declaration merging for the typings project (typings/typings#119).
I am trying to write decleration files for the expect-jsx library. I've previously written the expect declarations and have written the expect-jsx declarations. When I try to use these definitions the decleration merging fails unless I add a reference path to the module I want to merge with directly in the module. Does an ambient module have to have a direct reference to the module it's merging with? Isn't it enough to have both declerations referenced by another file? Is this expected behaviour or a bug?
Thanks In Advance
The text was updated successfully, but these errors were encountered: