From 19e524a21c3f8d6cf2ef097b429146e0299d1db7 Mon Sep 17 00:00:00 2001 From: Antonio Pavlinovic Date: Thu, 7 Feb 2019 14:53:54 +0100 Subject: [PATCH] Fixes export default --- types/elo-rank/elo-rank-tests.ts | 2 +- types/elo-rank/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/elo-rank/elo-rank-tests.ts b/types/elo-rank/elo-rank-tests.ts index 2d3c40ad14..2e53764042 100644 --- a/types/elo-rank/elo-rank-tests.ts +++ b/types/elo-rank/elo-rank-tests.ts @@ -1,4 +1,4 @@ -import EloRank from 'elo-rank'; +import { EloRank } from "elo-rank"; const test = new EloRank(); diff --git a/types/elo-rank/index.d.ts b/types/elo-rank/index.d.ts index b702e6bd9a..c9e6178750 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 default class EloRank { +export class EloRank { constructor(kFactor?: number); setKFactor(kFactor: number): void; getKFactor(): number;