Skip to content
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

remove @ts-ignore for @entropyxyz/sdk #159

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
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: 0 additions & 2 deletions src/common/initializeEntropy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import Entropy, { wasmGlobalsReady } from "@entropyxyz/sdk"
// TODO: fix importing of types from @entropy/sdk/keys
// @ts-ignore
import Keyring from "@entropyxyz/sdk/keys"

Check failure on line 2 in src/common/initializeEntropy.ts

View workflow job for this annotation

GitHub Actions / Build, test, and lint

Cannot find module '@entropyxyz/sdk/keys' or its corresponding type declarations.
import inquirer from "inquirer"
import { decrypt, encrypt } from "../flows/password"
import * as config from "../config"
Expand Down
4 changes: 2 additions & 2 deletions src/flows/entropyTransfer/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-ignore
import { Pair } from '@entropyxyz/sdk/keys'

Check failure on line 1 in src/flows/entropyTransfer/types.ts

View workflow job for this annotation

GitHub Actions / Build, test, and lint

Cannot find module '@entropyxyz/sdk/keys' or its corresponding type declarations.

export interface TransferOptions {
from: Pair
to: string
amount: bigint
}
}
1 change: 0 additions & 1 deletion tests/testing-utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-ignore
import { spinNetworkUp, spinNetworkDown, } from "@entropyxyz/sdk/testing"
import * as readline from 'readline'
import { randomBytes } from 'crypto'
Expand Down
2 changes: 0 additions & 2 deletions tests/testing-utils/setup-test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Test } from 'tape'
import { Entropy, wasmGlobalsReady } from '@entropyxyz/sdk'
// @ts-ignore
import { spinNetworkUp, spinNetworkDown, } from "@entropyxyz/sdk/testing"
// @ts-ignore
import Keyring from '@entropyxyz/sdk/keys'

import { initializeEntropy } from '../../src/common/initializeEntropy'
Expand Down
2 changes: 0 additions & 2 deletions tests/transfer.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import test from 'tape'
import { wasmGlobalsReady } from '@entropyxyz/sdk'
// WIP: I'm seeing problems importing this?
// @ts-ignore
import Keyring from '@entropyxyz/sdk/keys'
import {
makeSeed,
Expand Down
Loading