added 'strictFunctionTypes: true' to tsconfig.json as recommended

This commit is contained in:
Wpapsco
2019-02-27 21:42:18 -08:00
parent c2b2ef863e
commit 3ca57c4672

View File

@@ -9,6 +9,7 @@
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"strictNullChecks": true, /* Enable strict null checks. */
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"strictFunctionTypes": true,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
}
}