mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-03-16 18:20:50 +00:00
Merge pull request #6 from polkadot-js/jg-ethereumjs-testing
Add ethereumjs-testing def
This commit is contained in:
commit
28c6bbd161
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,
|
||||
"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