Requires TypeScript 3.2 (via a peerDependency
), and enforces stricter checking for bind
/call
/apply
.
See https://blogs.msdn.microsoft.com/typescript/2018/11/29/announcing-typescript-3-2/
and https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html for details.
When updating to this version also change the extends
in tsconfig.json
to read @collaborne/tsconfig
:
diff --git a/tsconfig.json b/tsconfig.json
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,7 +1,7 @@
{
- "extends": "./node_modules/@collaborne/tsconfig/tsconfig",
+ "extends": "@collaborne/tsconfig",
"compilerOptions": {
"outDir": "./build"
},
"include": [
"./server/**/*"