mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
Changes needed for exports
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
|
||||
|
||||
class EloRank {
|
||||
declare class EloRank {
|
||||
constructor(kFactor?: number);
|
||||
setKFactor(kFactor: number): void;
|
||||
getKFactor(): number;
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user