diff --git a/doc/handbook/declaration files/templates/global.d.ts.md b/doc/handbook/declaration files/templates/global.d.ts.md index ca38dda7..94637858 100644 --- a/doc/handbook/declaration files/templates/global.d.ts.md +++ b/doc/handbook/declaration files/templates/global.d.ts.md @@ -17,7 +17,7 @@ declare function myLib(a: number): number; *~ Be sure this actually makes sense! If it doesn't, just *~ delete this declaration and add types inside the namespace below. */ -interface myLib { +declare interface myLib { name: string; length: number; extras?: string[];