TypeScript: Documentation - Modules .d.ts
https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html
Mar 07, 2022 · Testing your types. If you are planning on submitting these changes to DefinitelyTyped for everyone to also use, then we recommend you: Create a new folder in node_modules/@types/ [libname] Create an index.d.ts in that folder, and copy the example in. See where your usage of the module breaks, and start to fill out the index.d.ts.
DA: 81 PA: 26 MOZ Rank: 74