This is an old revision of the document!
https://www.typescriptlang.org/docs/handbook/declaration-merging.html
From: TypeScript 怎么声明全局类型,可以不 import 直接使用? - Snowflyt的回答 - 知乎 https://www.zhihu.com/question/350961609/answer/3559626500
typescript:declaration_merging
This is an old revision of the document!
https://www.typescriptlang.org/docs/handbook/declaration-merging.html
From: TypeScript 怎么声明全局类型,可以不 import 直接使用? - Snowflyt的回答 - 知乎 https://www.zhihu.com/question/350961609/answer/3559626500