Open NaridaL opened 7 years ago
The TS typings currently add stuff to the global scope, they should use something like http://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-function-d-ts.html so they work both in a browser env and when importing them as modules. Also add the typings to the "typings" field of the package.json so TS finds them when importing.
@stonio can you take a look on it?
The TS typings currently add stuff to the global scope, they should use something like http://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-function-d-ts.html so they work both in a browser env and when importing them as modules. Also add the typings to the "typings" field of the package.json so TS finds them when importing.