Closed
Description
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