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": [ "../"