mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Export changes
This commit is contained in:
Vendored
+3
-1
@@ -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;
|
||||
Reference in New Issue
Block a user