Skip to content

Commit

Permalink
chore(types): ts-check
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Nov 14, 2024
1 parent c3a6f12 commit 7852746
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions multichain-testing/test/chain-queries.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ test.serial('Send Local Query from chain object', async t => {
},
);
const balanceProto3JsonQuery = typedJson(
// @ts-expect-error outdated cosmic-proto dep
'/cosmos.bank.v1beta1.QueryBalanceRequest',
{
address: agoricAddr,
Expand Down
1 change: 1 addition & 0 deletions multichain-testing/tools/batchQuery.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import { assert } from '@endo/errors';
import { E } from '@endo/far';

Expand Down
3 changes: 3 additions & 0 deletions multichain-testing/tools/e2e-tools.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
/** global harden */
import { assert } from '@endo/errors';
import { E, Far } from '@endo/far';
Expand Down Expand Up @@ -123,6 +124,7 @@ const installBundle = async (fullPath, opts) => {
* chainId?: string;
* whale?: string;
* progress?: typeof console.log;
* q?: import('./queryKit.js').QueryTool;
* }} opts
*/
export const provisionSmartWallet = async (
Expand Down Expand Up @@ -471,6 +473,7 @@ export const makeE2ETools = async (
// name,
id: fullPath,
installHeight: tx.height,
// @ts-expect-error confirm is a boolean?
installed: confirm.installed,
});
}
Expand Down
1 change: 1 addition & 0 deletions multichain-testing/tools/makeHttpClient.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import { assert } from '@endo/errors';
import { Far } from '@endo/far';

Expand Down
1 change: 1 addition & 0 deletions multichain-testing/tools/marshalTables.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
/**
* @file marshal tools for vstorage clients
*
Expand Down
1 change: 1 addition & 0 deletions multichain-testing/tools/queryKit.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import { E, Far } from '@endo/far';
import { batchVstorageQuery } from './batchQuery.js';
import { makeClientMarshaller } from './marshalTables.js';
Expand Down

0 comments on commit 7852746

Please sign in to comment.