Skip to content

Commit de8e7da

Browse files
authored
Document minimum TypeScript version (#1050)
1 parent 2d84752 commit de8e7da

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/typescript.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ try {
110110

111111
## Troubleshooting
112112

113+
### Supported version
114+
115+
The minimum supported TypeScript version is [`5.1.6`](https://github.com/microsoft/TypeScript/releases/tag/v5.1.6).
116+
113117
### ES modules
114118

115119
This package uses pure ES modules. Therefore the TypeScript's `--module` compiler option must be set to [`nodenext`](https://www.typescriptlang.org/docs/handbook/modules/reference.html#node16-nodenext) or [`preserve`](https://www.typescriptlang.org/docs/handbook/modules/reference.html#preserve). [More info.](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)

0 commit comments

Comments
 (0)