Browse Source
Merge pull request #1345 from d-yokoi/tsconfig
build: add compiler options to forbid unused local variables and params
fixTypes
Jonathan Underwood
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
5 additions and
3 deletions
-
ts_src/payments/p2sh.ts
-
ts_src/payments/p2wsh.ts
-
tsconfig.json
|
|
@ -1,5 +1,5 @@ |
|
|
|
import { Payment, PaymentOpts } from './index' // eslint-disable-line
|
|
|
|
import { Network, bitcoin as BITCOIN_NETWORK } from '../networks' // eslint-disable-line
|
|
|
|
import { bitcoin as BITCOIN_NETWORK } from '../networks' // eslint-disable-line
|
|
|
|
import * as bscript from '../script' |
|
|
|
import * as bcrypto from '../crypto' |
|
|
|
import * as lazy from './lazy' |
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
import { Payment, PaymentOpts } from './index' // eslint-disable-line
|
|
|
|
import { Network, bitcoin as BITCOIN_NETWORK } from '../networks' // eslint-disable-line
|
|
|
|
import { bitcoin as BITCOIN_NETWORK } from '../networks' // eslint-disable-line
|
|
|
|
import * as bscript from '../script' |
|
|
|
import * as bcrypto from '../crypto' |
|
|
|
import * as lazy from './lazy' |
|
|
|
|
|
@ -18,7 +18,9 @@ |
|
|
|
"strictPropertyInitialization": true, |
|
|
|
"noImplicitThis": true, |
|
|
|
"alwaysStrict": true, |
|
|
|
"esModuleInterop": false |
|
|
|
"esModuleInterop": false, |
|
|
|
"noUnusedLocals": true, |
|
|
|
"noUnusedParameters": true |
|
|
|
}, |
|
|
|
"include": [ |
|
|
|
"ts_src/**/*.ts" |
|
|
|