mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-04-23 04:42:14 +00:00
Add ethereumjs-testing def
This commit is contained in:
parent
ddf50f4c3f
commit
000fc19742
16
types/ethereumjs-testing/index.d.ts
vendored
Normal file
16
types/ethereumjs-testing/index.d.ts
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
// Type definitions for keccak 1.0.4
|
||||||
|
// Project: https://github.com/ethereumjs/ethereumjs-testing
|
||||||
|
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
||||||
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||||
|
|
||||||
|
declare module 'ethereumjs-testing' {
|
||||||
|
type Tests = {
|
||||||
|
[index: string]: {
|
||||||
|
in: string,
|
||||||
|
out: string,
|
||||||
|
root: string
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getSingleFile: (name: string) => Tests;
|
||||||
|
}
|
16
types/ethereumjs-testing/tsconfig.json
Normal file
16
types/ethereumjs-testing/tsconfig.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "commonjs",
|
||||||
|
"lib": ["es6"],
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"noImplicitThis": true,
|
||||||
|
"strictFunctionTypes": true,
|
||||||
|
"strictNullChecks": true,
|
||||||
|
"baseUrl": "../",
|
||||||
|
"typeRoots": ["../"],
|
||||||
|
"types": [],
|
||||||
|
"noEmit": true,
|
||||||
|
"forceConsistentCasingInFileNames": true
|
||||||
|
},
|
||||||
|
"files": ["index.d.ts", "ethereumjs-testing-tests.ts"]
|
||||||
|
}
|
1
types/ethereumjs-testing/tslint.json
Normal file
1
types/ethereumjs-testing/tslint.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{ "extends": "dtslint/dt.json" }
|
@ -12,5 +12,5 @@
|
|||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"forceConsistentCasingInFileNames": true
|
"forceConsistentCasingInFileNames": true
|
||||||
},
|
},
|
||||||
"files": ["index.d.ts", "bn.js-tests.ts"]
|
"files": ["index.d.ts", "keccak-tests.ts"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user