Reputation: 996
Does anybody know how to mix external typescript modules with internal ones. I tried it with using browserify but when i import some external module i cannot longer use internal modules(namespace or module) ?
Upvotes: 0
Views: 115
Reputation: 250842
My recommendation is, don't mix internal and external modules. If you are using external modules commit yourself to that pattern and act as if internal modules simply don't exist.
The TypeScript team (via Ryan Cavanaugh) have a similar recommendation.
So just ditch the internal modules / namespaces and get on board fully with the external module pattern, which is better anyhow.
Upvotes: 2