Skip to content

fix: cannot infer (TS2742) types from [email protected] #1098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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: 2 additions & 0 deletions src/account/default.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import type { SPEC } from 'starknet-types-07';
import { UDC, ZERO } from '../constants';
import { Provider, ProviderInterface } from '../provider';
import { Signer, SignerInterface } from '../signer';
Expand Down
2 changes: 2 additions & 0 deletions src/utils/stark.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import type { SPEC } from 'starknet-types-07';
import { getStarkKey, utils } from '@scure/starknet';
import { gzip, ungzip } from 'pako';

Expand Down
2 changes: 2 additions & 0 deletions src/wallet/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import {
type AddStarknetChainParameters,
type NetworkChangeEventHandler,
type WatchAssetParameters,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
type SPEC,
} from 'starknet-types-07';

import { Account, AccountInterface } from '../account';
Expand Down
2 changes: 2 additions & 0 deletions src/wallet/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import {
type ChainId,
type StarknetWindowObject,
type TypedData,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
type SPEC,
} from 'starknet-types-07';

/**
Expand Down