ms/packages/bukkit/src/typings/org.bukkit.Warning.ts
MiaoWoo 2bf239d8ea feat: add bukkit class type
Signed-off-by: MiaoWoo <admin@yumc.pw>
2019-09-12 17:54:17 +08:00

16 lines
459 B
TypeScript

declare namespace org {
namespace bukkit {
class Warning {
/**
* This sets if the deprecation warnings when registering events gets
* printed when the setting is in the default state.
*/
public value(): boolean;
/**
* This can provide detailed information on why the event is deprecated.
*/
public reason(): string;
}
}
}