Set strictNullChecks to true
This commit is contained in:
parent
d834657542
commit
25b1fdcb1b
|
@ -13,7 +13,7 @@ interface IAggregateSigsTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
describeForAllImplementations((bls) => {
|
describeForAllImplementations((bls) => {
|
||||||
describeDirectorySpecTest<IAggregateSigsTestCase, string>(
|
describeDirectorySpecTest<IAggregateSigsTestCase, string | null>(
|
||||||
"bls/aggregate/small",
|
"bls/aggregate/small",
|
||||||
path.join(SPEC_TESTS_DIR, "tests/general/phase0/bls/aggregate/small"),
|
path.join(SPEC_TESTS_DIR, "tests/general/phase0/bls/aggregate/small"),
|
||||||
(testCase) => {
|
(testCase) => {
|
||||||
|
|
|
@ -16,7 +16,7 @@ interface ISignMessageTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
describeForAllImplementations((bls) => {
|
describeForAllImplementations((bls) => {
|
||||||
describeDirectorySpecTest<ISignMessageTestCase, string>(
|
describeDirectorySpecTest<ISignMessageTestCase, string | null>(
|
||||||
"bls/sign/small",
|
"bls/sign/small",
|
||||||
path.join(SPEC_TESTS_DIR, "tests/general/phase0/bls/sign/small"),
|
path.join(SPEC_TESTS_DIR, "tests/general/phase0/bls/sign/small"),
|
||||||
(testCase) => {
|
(testCase) => {
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
"typeRoots": ["./node_modules/@types"],
|
"typeRoots": ["./node_modules/@types"],
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"strictNullChecks": false,
|
"strictNullChecks": true,
|
||||||
|
"strictFunctionTypes": true,
|
||||||
"esModuleInterop": true
|
"esModuleInterop": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue