Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/codegen.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ telescope({

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

export { DeepPartial, Exact } from "./helpers";
export type { DeepPartial, Exact } from "./helpers";
`;
writeFileSync(`${outPath}/index.ts`, index_ts);

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

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

export { DeepPartial, Exact } from "./helpers";
export type { DeepPartial, Exact } from "./helpers";
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"lib": ["es2020"],
"module": "commonjs",
"moduleResolution": "node",
"module": "node20",
"newLine": "LF",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
Expand Down