strictFunctionTypes set to true

This commit is contained in:
Antonio Pavlinovic
2019-02-04 12:11:30 +01:00
parent 1cb13b7179
commit 04a782f4b0
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
// Definitions by: Antonio Pavlinovic <https://github.com/apavlinovic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export class EloRank {
export default class EloRank {
constructor(kFactor?: number);
setKFactor(kFactor: number): void;
+1
View File
@@ -7,6 +7,7 @@
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"