3 ms·
The Microsoft @types repository is actually not the recommended way of storing Typescript typings. Typescript developers are encouraged to package a Typescript
by jensvdh 10y ago
The Microsoft @types repository is actually not the recommended way of storing Typescript typings.
Typescript developers are encouraged to package a Typescript definition file inside of their repository if possible. Typescript is smart enough to pick it up automatically.
https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html https://www.typescriptlang.org/docs/handbook/declaration-fil...