Skip to content

Commit

Permalink
[tsconfig] Ensure module is ES2020
Browse files Browse the repository at this point in the history
I've seen with some IDE support, having an ESNext module
makes imports not work correctly.  Given that it's built for ES2020
it should have the same value for all.
  • Loading branch information
gregnazario committed Jan 21, 2024
1 parent 2bd7f6b commit 93ff725
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to the Aptos TypeScript SDK will be captured in this file. T

# Unreleased

- Change `module` in `tsconfig.json` to `ES2020` to improve IDE support

# 1.4.0 (2024-01-08)

- Omit `"build" | "simulate" | "submit"` from `aptos` namespace
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"declarationMap": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"module": "esnext",
"module": "ES2020",
"moduleDetection": "force",
"moduleResolution": "node",
"noImplicitAny": true,
Expand Down

0 comments on commit 93ff725

Please sign in to comment.