RequireJS path mappings are configured by calling requirejs.config
. The requirejs
object is a global variable; however, all type definitions available for RequireJS expose it as a module to be imported, rather than as a global variable.
How should I use RequireJS with TypeScript?