Problem Statement
Module augmentation enables…
Explanation
You can reopen a module’s declaration in a `.d.ts` file and add missing types or members. This is great for patching third-party typings without editing `node_modules`.
Code Solution
SolutionRead Only
/* types/lib-augment.d.ts */
declare module 'some-lib' {
export function fancy(): string;
}