We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 911caa2 commit ad912c3Copy full SHA for ad912c3
README.md
@@ -343,6 +343,17 @@ npm install d3 --save
343
npm install @types/d3 --save-dev
344
```
345
346
+If the library doesn't have typings available at `@types/`, you can still use it by
347
+manually adding typings for it:
348
+```
349
+// in src/typings.d.ts
350
+declare module 'typeless-package';
351
+
352
+// in src/app/app.component.ts
353
+import * as typelessPackage from 'typeless-package';
354
+typelessPackage.method();
355
356
357
### Global Library Installation
358
359
Some javascript libraries need to be added to the global scope, and loaded as if
0 commit comments