Skip to content

Commit

Permalink
在所有模块模式中支持 resolution-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongsp committed Dec 5, 2023
1 parent d7d99ee commit a8f60fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions zh/release-notes/typescript-5.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,10 @@ export interface MergedType extends TypeFromRequire, TypeFromImport {}
```

更多详情,请参考[PR](https://github.com/microsoft/TypeScript/pull/55725)

## 在所有模块模式中支持 `resolution-mode`

此前,仅在 `moduleResolution``node16``nodenext` 时支持 `resolution-mode`
为了使查找模块更容易,尤其针对类型,`resolution-mode` 现在可以在所有其它的 `moduleResolution` 选项下工作,例如 `bundler``node10`,甚至在 `classic` 下也不报错。

更多详情,请参考[PR](https://github.com/microsoft/TypeScript/pull/55725)

0 comments on commit a8f60fb

Please sign in to comment.