Skip to content

Commit 8f7f65b

Browse files
authored
Merge pull request #101 from dynst/tsconfig-legacy
remove legacy compilerOptions from tsconfig
2 parents c4b7a52 + 74474f4 commit 8f7f65b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

scripts/codegen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ telescope({
106106
107107
// Exports we want to provide at the root of the "cosmjs-types" package
108108
109-
export { DeepPartial, Exact } from "./helpers";
109+
export type { DeepPartial, Exact } from "./helpers";
110110
`;
111111
writeFileSync(`${outPath}/index.ts`, index_ts);
112112

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
// Exports we want to provide at the root of the "cosmjs-types" package
44

5-
export { DeepPartial, Exact } from "./helpers";
5+
export type { DeepPartial, Exact } from "./helpers";

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"declaration": true,
55
"esModuleInterop": true,
66
"forceConsistentCasingInFileNames": true,
7+
"isolatedModules": true,
78
"lib": ["es2020"],
8-
"module": "commonjs",
9-
"moduleResolution": "node",
9+
"module": "node20",
1010
"newLine": "LF",
1111
"noEmitOnError": true,
1212
"noFallthroughCasesInSwitch": true,

0 commit comments

Comments
 (0)