Merge pull request #67 from ChainSafe/dapplion/strictNullChecks

Set strictNullChecks to true
This commit is contained in:
Cayman 2020-12-07 15:04:31 -07:00 committed by GitHub
commit 945e10b852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,7 @@ interface IAggregateSigsTestCase {
}
describeForAllImplementations((bls) => {
describeDirectorySpecTest<IAggregateSigsTestCase, string>(
describeDirectorySpecTest<IAggregateSigsTestCase, string | null>(
"bls/aggregate/small",
path.join(SPEC_TESTS_DIR, "tests/general/phase0/bls/aggregate/small"),
(testCase) => {

View File

@ -16,7 +16,7 @@ interface ISignMessageTestCase {
}
describeForAllImplementations((bls) => {
describeDirectorySpecTest<ISignMessageTestCase, string>(
describeDirectorySpecTest<ISignMessageTestCase, string | null>(
"bls/sign/small",
path.join(SPEC_TESTS_DIR, "tests/general/phase0/bls/sign/small"),
(testCase) => {

View File

@ -8,7 +8,8 @@
"typeRoots": ["./node_modules/@types"],
"declaration": true,
"strict": true,
"strictNullChecks": false,
"strictNullChecks": true,
"strictFunctionTypes": true,
"esModuleInterop": true
}
}