Skip to content

Commit

Permalink
chore: rebuild + skip lib check
Browse files Browse the repository at this point in the history
  • Loading branch information
ratik committed Mar 20, 2024
1 parent 519709c commit 1d9991d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions lib/schemaToTs.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export class Client {
codeId: number,
initMsg: InstantiateMsg,
label: string,
fees: StdFee | 'auto' | number,
initCoins?: readonly Coin[],
fees?: StdFee | 'auto' | number,
): Promise<InstantiateResult> {
const res = await client.instantiate(sender, codeId, initMsg, label, fees, {
...(initCoins && initCoins.length && { funds: initCoins }),
Expand Down Expand Up @@ -186,9 +186,7 @@ export class Client {
log('execute compiled');
if (file.instantiate) {
log('adding instantiate msg type');
typesOut += await (0, json_schema_to_typescript_1.compile)((await json_schema_ref_parser_1.default.dereference(file.instantiate)), 'InitMsg', {
bannerComment: '',
});
globalSchema.properties.instantiate = file.instantiate;
}
out += `}
`;
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"lib": ["esnext","DOM"],
"outDir": "lib",
"resolveJsonModule": true,
"esModuleInterop": true
"esModuleInterop": true,
"skipLibCheck": true
},
"include": ["./src/**/*"],
"exclude": ["./src/**/*.test.ts"]
Expand Down

0 comments on commit 1d9991d

Please sign in to comment.