typescript is not a module

But this is not from a TypeScript module, so it doesn't use export default, nor from a module that tries to support TS, which would politely define exports.default. Modernizr is added to the global namespace and is not available as a module. If … The ES Modules module format is meant to be universal to all ECMAScript environments. AMD or SystemJS) has not been easy before; previously an ambient module declaration had to be defined for each resource. The problem is not with excluding the package, but recognizing it when using

Web
Analytics

Flag Counter
Free counters!