diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-09-04 20:52:17 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-09-04 22:36:18 +0800 |
commit | 77acbdd3ea9067856d0ece5fc2adc9609c480c9c (patch) | |
tree | 85ce6a6c58fbbf2dd1af0550c8a85314d1458d8c /packages | |
parent | c13190ceab6cea692e55c4e0561cc8846cd47839 (diff) | |
download | dexon-0x-contracts-77acbdd3ea9067856d0ece5fc2adc9609c480c9c.tar dexon-0x-contracts-77acbdd3ea9067856d0ece5fc2adc9609c480c9c.tar.gz dexon-0x-contracts-77acbdd3ea9067856d0ece5fc2adc9609c480c9c.tar.bz2 dexon-0x-contracts-77acbdd3ea9067856d0ece5fc2adc9609c480c9c.tar.lz dexon-0x-contracts-77acbdd3ea9067856d0ece5fc2adc9609c480c9c.tar.xz dexon-0x-contracts-77acbdd3ea9067856d0ece5fc2adc9609c480c9c.tar.zst dexon-0x-contracts-77acbdd3ea9067856d0ece5fc2adc9609c480c9c.zip |
Remove types for ganache-core from typescript-typings
Diffstat (limited to 'packages')
-rw-r--r-- | packages/monorepo-scripts/src/doc_gen_configs.ts | 2 | ||||
-rw-r--r-- | packages/subproviders/package.json | 1 | ||||
-rw-r--r-- | packages/typescript-typings/types/ganache-core/index.d.ts | 16 | ||||
-rw-r--r-- | packages/web3-wrapper/package.json | 1 |
4 files changed, 3 insertions, 17 deletions
diff --git a/packages/monorepo-scripts/src/doc_gen_configs.ts b/packages/monorepo-scripts/src/doc_gen_configs.ts index 102b5d7ca..b682f3f7b 100644 --- a/packages/monorepo-scripts/src/doc_gen_configs.ts +++ b/packages/monorepo-scripts/src/doc_gen_configs.ts @@ -17,7 +17,7 @@ export const docGenConfigs: DocGenConfigs = { 'https://github.com/tdegrunt/jsonschema/blob/5c2edd4baba149964aec0f23c87ad12c25a50dfb/lib/index.d.ts#L49', Uint8Array: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array', 'Ganache.GanacheOpts': - 'https://github.com/0xProject/0x-monorepo/blob/ddf85112d7e4eb1581e0d82ce6eedad429641106/packages/typescript-typings/types/ganache-core/index.d.ts#L3', + 'https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/ganache-core/index.d.ts#L8', 'lightwallet.keystore': 'https://github.com/0xProject/0x-monorepo/blob/ddf85112d7e4eb1581e0d82ce6eedad429641106/packages/typescript-typings/types/eth-lightwallet/index.d.ts#L32', }, diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index d9583b357..afeb10d88 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -59,6 +59,7 @@ "@types/mocha": "^2.2.42", "@types/node": "^8.0.53", "@types/sinon": "^2.2.2", + "@types/ganache-core": "^2.1.0", "chai": "^4.0.1", "chai-as-promised": "^7.1.0", "copyfiles": "^2.0.0", diff --git a/packages/typescript-typings/types/ganache-core/index.d.ts b/packages/typescript-typings/types/ganache-core/index.d.ts deleted file mode 100644 index c07e6a78e..000000000 --- a/packages/typescript-typings/types/ganache-core/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare module 'ganache-core' { - import { Provider } from 'ethereum-types'; - export interface GanacheOpts { - verbose?: boolean; - logger?: { - log(msg: string): void; - }; - port?: number; - network_id?: number; - networkId?: number; - mnemonic?: string; - gasLimit?: number; - } - // tslint:disable-next-line:completed-docs - export function provider(opts: GanacheOpts): Provider; -} diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 6361fbde7..e2770bcc5 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -35,6 +35,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { "@0xproject/tslint-config": "^1.0.6", + "@types/ganache-core": "^2.1.0", "@types/lodash": "4.14.104", "chai": "^4.0.1", "chai-as-promised": "^7.1.0", |