Skip to content

Commit

Permalink
Docs: Updated TypeScript install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanJM committed Oct 4, 2019
1 parent 9c7108c commit 498b2c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ import { extendMoment } from 'moment-range';
const moment = extendMoment(Moment);
```

**TypeScript:**

``` js
import * as Moment from 'moment';
import { extendMoment } from 'moment-range';

const moment = extendMoment(Moment);
```

**CommonJS:**

``` js
Expand Down

0 comments on commit 498b2c3

Please sign in to comment.