Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| typescript:declaration_merging [2025/03/30 08:34] – lingao | typescript:declaration_merging [2025/03/30 08:39] (current) – lingao | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Article ====== | ||
| + | |||
| Official Website: https:// | Official Website: https:// | ||
| Line 223: | Line 225: | ||
| </ | </ | ||
| 鉴于现代前端开发已经迈入全 '' | 鉴于现代前端开发已经迈入全 '' | ||
| + | |||
| + | ====== Comments ====== | ||
| + | |||
| + | Q: " | ||
| + | 为啥我的项目中的global.d.ts一定要加export {}才能变成全局的,不加的话就识别不到[大哭] | ||
| + | |||
| + | A: tsconfig.json有个选项moduleDetection,设置为" | ||
| + | |||
| + | |||