From 04a782f4b0342f452ce09ee8cd39af8563ee1a52 Mon Sep 17 00:00:00 2001 From: Antonio Pavlinovic Date: Mon, 4 Feb 2019 12:11:30 +0100 Subject: [PATCH] strictFunctionTypes set to true --- types/elo-rank/index.d.ts | 2 +- types/elo-rank/tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/types/elo-rank/index.d.ts b/types/elo-rank/index.d.ts index c2a797cbcb..d3265cb15b 100644 --- a/types/elo-rank/index.d.ts +++ b/types/elo-rank/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Antonio Pavlinovic // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -export class EloRank { +export default class EloRank { constructor(kFactor?: number); setKFactor(kFactor: number): void; diff --git a/types/elo-rank/tsconfig.json b/types/elo-rank/tsconfig.json index 7ec166bf13..2ebd08f352 100644 --- a/types/elo-rank/tsconfig.json +++ b/types/elo-rank/tsconfig.json @@ -7,6 +7,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../"