Skip to content

Commit 6871f22

Browse files
committed
docs: update README to specify TypeScript lib requirement
1 parent e15c242 commit 6871f22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ Install the package:
1212
npm install angular-ecmascript-intl --save
1313
```
1414

15+
This package requires TypeScript with a lib setting of ES2021 or later.
16+
Older lib targets (e.g., ES2020 or below) are not supported and may cause
17+
type errors or missing type definitions. Make sure your `tsconfig.json` includes
18+
`"lib": ["ES2021"]` (or a newer standard such as ES2022) to ensure full compatibility.
19+
1520
Import the pipes individually as per usage, or import the `IntlModule` to import all pipes at once.
1621

1722
By default, all pipes will use the browser default locale.

0 commit comments

Comments
 (0)