Fixes export default

This commit is contained in:
Antonio Pavlinovic
2019-02-07 14:53:54 +01:00
parent cdd038c9d4
commit 19e524a21c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import EloRank from 'elo-rank';
import { EloRank } from "elo-rank";
const test = new EloRank();
+1 -1
View File
@@ -3,7 +3,7 @@
// Definitions by: Antonio Pavlinovic <https://github.com/apavlinovic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export default class EloRank {
export class EloRank {
constructor(kFactor?: number);
setKFactor(kFactor: number): void;
getKFactor(): number;