Posts tagged “module augmentation”
2 posts found
TypeScript `declare module` Augmentation in 2026: Adding Types to Untyped npm Packages Without DefinitelyTyped
November 16, 2026
Learn how to add type definitions to untyped npm packages using TypeScript's declare module augmentation, avoiding the critical import/export pitfall that breaks type merging.
typescriptmodule augmentationtype definitions+2
TypeScript Declaration Merging in 2026: Augmenting Third-Party Modules Without Losing Type Safety
July 16, 2026
Master TypeScript declaration merging and module augmentation to extend third-party types safely. Learn when to use global vs module augmentation, avoid merge conflicts, and maintain type safety in production codebases.
typescriptdeclaration-mergingmodule-augmentation+2