15
packages/bukkit/src/typings/org.bukkit.Warning.ts
Normal file
15
packages/bukkit/src/typings/org.bukkit.Warning.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user