Skip to content

Commit

Permalink
Fix CI build error from dtslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Apr 17, 2020
1 parent 0733765 commit 73147f2
Show file tree
Hide file tree
Showing 57 changed files with 1,575 additions and 1,731 deletions.
22 changes: 8 additions & 14 deletions packages/web3-bzz/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/web3-bzz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"dtslint": "dtslint types"
"dtslint": "dtslint --localTs node_modules/typescript/lib types"
},
"main": "src/index.js",
"dependencies": {
Expand All @@ -19,7 +19,7 @@
"underscore": "1.9.1"
},
"devDependencies": {
"definitelytyped-header-parser": "^3.9.0",
"dtslint": "^3.4.1"
"dtslint": "^3.4.1",
"typescript": "latest"
}
}
2 changes: 0 additions & 2 deletions packages/web3-bzz/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
* @date 2018
*/

// Minimum TypeScript Version: 3.0

export class Bzz {
constructor();
constructor(provider: any);
Expand Down
22 changes: 8 additions & 14 deletions packages/web3-core-helpers/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/web3-core-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"dtslint": "dtslint types"
"dtslint": "dtslint --localTs node_modules/typescript/lib types"
},
"main": "src/index.js",
"dependencies": {
Expand All @@ -19,7 +19,7 @@
},
"devDependencies": {
"@types/node": "^12.12.5",
"definitelytyped-header-parser": "^3.9.0",
"dtslint": "^3.4.1"
"dtslint": "^3.4.1",
"typescript": "latest"
}
}
2 changes: 0 additions & 2 deletions packages/web3-core-helpers/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
* @date 2018
*/

// Minimum TypeScript Version: 3.0

import * as net from 'net';
import * as http from 'http';
import * as https from 'https';
Expand Down
22 changes: 8 additions & 14 deletions packages/web3-core-method/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/web3-core-method/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"dtslint": "dtslint types"
"dtslint": "dtslint --localTs node_modules/typescript/lib types"
},
"main": "src/index.js",
"dependencies": {
Expand All @@ -20,7 +20,7 @@
"web3-utils": "1.2.6"
},
"devDependencies": {
"definitelytyped-header-parser": "^3.9.0",
"dtslint": "^3.4.1"
"dtslint": "^3.4.1",
"typescript": "latest"
}
}
2 changes: 0 additions & 2 deletions packages/web3-core-method/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
* @date 2018
*/

// Minimum TypeScript Version: 3.0

import {JsonRpcPayload} from 'web3-core-helpers';

export interface Method {
Expand Down
22 changes: 8 additions & 14 deletions packages/web3-core-subscriptions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/web3-core-subscriptions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"dtslint": "dtslint types"
"dtslint": "dtslint --localTs node_modules/typescript/lib types"
},
"main": "src/index.js",
"dependencies": {
Expand All @@ -18,7 +18,7 @@
"web3-core-helpers": "1.2.6"
},
"devDependencies": {
"definitelytyped-header-parser": "^3.9.0",
"dtslint": "^3.4.1"
"dtslint": "^3.4.1",
"typescript": "latest"
}
}
2 changes: 0 additions & 2 deletions packages/web3-core-subscriptions/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
* @date 2019
*/

// Minimum TypeScript Version: 3.7

export class Subscription<T> {
constructor(options: SubscriptionOptions);

Expand Down
16 changes: 6 additions & 10 deletions packages/web3-core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/web3-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"dtslint": "dtslint types"
"dtslint": "dtslint --localTs node_modules/typescript/lib types"
},
"main": "src/index.js",
"dependencies": {
Expand All @@ -22,7 +22,7 @@
"web3-utils": "1.2.6"
},
"devDependencies": {
"definitelytyped-header-parser": "^3.9.0",
"dtslint": "^3.4.1"
"dtslint": "^3.4.1",
"typescript": "latest"
}
}
2 changes: 0 additions & 2 deletions packages/web3-core/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
* @date 2018
*/

// Minimum TypeScript Version: 3.0

import * as net from 'net';
import {
HttpProviderBase,
Expand Down
Loading

0 comments on commit 73147f2

Please sign in to comment.