mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Fixes export default
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import EloRank from 'elo-rank';
|
||||
import { EloRank } from "elo-rank";
|
||||
|
||||
const test = new EloRank();
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user