Skip to content

Commit 7da1c3d

Browse files
authored
Merge pull request #110 from cosmos/ES2022
Bump target/lib to es2022
2 parents fb79928 + 0e0a5ab commit 7da1c3d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ and this project adheres to
1818
+import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"
1919
```
2020

21+
- The TypeScript build `target` and `lib` is now ES2022,
22+
[analogue to CosmJS 0.35](https://github.com/cosmos/cosmjs/pull/1783).
23+
2124
## [0.10.1] - 2025-07-29
2225

2326
- Add missing json-safe.\* files to package

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"esModuleInterop": true,
66
"forceConsistentCasingInFileNames": true,
77
"isolatedModules": true,
8-
"lib": ["es2020"],
8+
"lib": ["es2022"],
9+
"target": "es2022",
910
"module": "node20",
1011
"newLine": "LF",
1112
"noEmitOnError": true,
@@ -22,8 +23,7 @@
2223
"resolveJsonModule": true,
2324
"rootDir": "src",
2425
"sourceMap": true,
25-
"strict": true,
26-
"target": "es2020"
26+
"strict": true
2727
},
2828
"include": ["src/**/*"]
2929
}

0 commit comments

Comments
 (0)