Skip to content

Commit

Permalink
模块解析时考虑 typeRoots
Browse files Browse the repository at this point in the history
5.1
  • Loading branch information
zhongsp committed Jul 2, 2023
1 parent 616079c commit 7108d18
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions zh/release-notes/typescript-5.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,10 @@ let x = <a:b prop="hello!" />;
```

感谢 [Oleksandr Tarasiuk](https://github.com/a-tarasyuk)[PR](https://github.com/microsoft/TypeScript/pull/53799)

## 模块解析时考虑 `typeRoots`

当 TypeScript 的模块解析策略无法解析一个路径时,它现在会相对于 `typeRoots` 继续解析。

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

0 comments on commit 7108d18

Please sign in to comment.