The repository for high quality TypeScript type definitions.
- You should now be able import from in your code and it will route to the new type definition.
- Once you’ve tested your definitions with real code, make a PR then follow the instructions to edit an existing package or create a new package.
- When a package bundles its own types, types should be removed from DefinitelyTyped to avoid confusion.
- Any other packages in DefinitelyTyped that referenced the deleted package should be updated to reference the bundled types.
- You will need to:
For example history v2 looks like:
Please note that unless upgrading something backwards-compatible like , all packages depending of the updated package need a path mapping to it, as well as packages depending on those.