feat: add sponge typings

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-25 09:55:00 +08:00
parent b8c3d0d19d
commit 7bb4d1f6a3
1928 changed files with 76288 additions and 0 deletions

View File

@ -0,0 +1,37 @@
declare namespace org {
namespace spongepowered {
namespace api {
// @ts-ignore
class GameState {
// @ts-ignore
public static CONSTRUCTION: org.spongepowered.api.GameState;
// @ts-ignore
public static PRE_INITIALIZATION: org.spongepowered.api.GameState;
// @ts-ignore
public static INITIALIZATION: org.spongepowered.api.GameState;
// @ts-ignore
public static POST_INITIALIZATION: org.spongepowered.api.GameState;
// @ts-ignore
public static LOAD_COMPLETE: org.spongepowered.api.GameState;
// @ts-ignore
public static SERVER_ABOUT_TO_START: org.spongepowered.api.GameState;
// @ts-ignore
public static SERVER_STARTING: org.spongepowered.api.GameState;
// @ts-ignore
public static SERVER_STARTED: org.spongepowered.api.GameState;
// @ts-ignore
public static SERVER_STOPPING: org.spongepowered.api.GameState;
// @ts-ignore
public static SERVER_STOPPED: org.spongepowered.api.GameState;
// @ts-ignore
public static GAME_STOPPING: org.spongepowered.api.GameState;
// @ts-ignore
public static GAME_STOPPED: org.spongepowered.api.GameState;
// @ts-ignore
public static values(): org.spongepowered.api.GameState[];
// @ts-ignore
public static valueOf(name: string): org.spongepowered.api.GameState;
}
}
}
}