notes on named imports

master
Vladimir Mandic 2021-10-22 14:46:06 -04:00
parent 30924a8078
commit d6c2c8c474
1 changed files with 6 additions and 0 deletions

@ -120,6 +120,12 @@ Install with:
const human = new Human();
```
*Note: When using a named import in a TypeScript project, it is advisable to instruct TypeScript where to look for type definitions using explict path to types*
```js
/// <reference path='./node_modules/@vladmandic/human/dist/human.d.ts' />
```
<br>
## 3. [NPM](https://www.npmjs.com/) module