Skip to content

Commit 26537f9

Browse files
committed
Fix error caused by strictBindCallApply option from TS 3.2
1 parent 77a4f79 commit 26537f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
/* Strict Type-Checking Options */
1717
"strict": true, /* Enable all strict type-checking options. */
1818
"strictFunctionTypes": true, /* Disable the new bidirectional covariance check in TS 2.6 */
19+
"strictBindCallApply": false, /* Disable the strict bind from TS 3.2 as it can't handle overloads correctly. */
1920
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
2021
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
2122

@@ -45,4 +46,4 @@
4546
"src/**/*",
4647
"tests/**/*"
4748
]
48-
}
49+
}

0 commit comments

Comments
 (0)