mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-29 00:51:29 +08:00
* Merged moment-node.d.ts into moment.d.ts
Installing moment typings using the following typings.json
```
{
"globalDependencies": {
"moment": "registry:dt/moment"
}
}
```
results in the TypeScript error `Error:(3, 21) TS2503: Cannot find namespace 'moment'.`, because the auto-generated `index.d.ts` contains only the contant of the `moment.d.ts` file. The referenced file `moment-node.d.ts` is not downloaded.
* Delete moment-node.d.ts