Export changes

This commit is contained in:
Antonio Pavlinovic
2019-02-11 11:14:09 +01:00
parent 19e524a21c
commit cc7c708a5b
+3 -1
View File
@@ -3,10 +3,12 @@
// Definitions by: Antonio Pavlinovic <https://github.com/apavlinovic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export class EloRank {
declare class EloRank {
constructor(kFactor?: number);
setKFactor(kFactor: number): void;
getKFactor(): number;
getExpected(a: number, b: number): number;
updateRating(expected: number, actual: number, current: number): number;
}
export = EloRank;