mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-05 17:50:03 +00:00
d3-countour: Enable strictFunctionTypes (#20375)
This commit is contained in:
@@ -38,7 +38,7 @@ function goldsteinPrice(x: number, y: number) {
|
||||
|
||||
let size: [number, number];
|
||||
let boolFlag: boolean;
|
||||
const thresholdArrayGen: ThresholdArrayGenerator<number> = (values: number[], min: number, max: number) => {
|
||||
const thresholdArrayGen: ThresholdArrayGenerator<number> = (values: ArrayLike<number>, min?: number, max?: number) => {
|
||||
let thresholds: number[];
|
||||
thresholds = [values[1], values[2], values[4]];
|
||||
return thresholds;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": false,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user