feat: add type extend and interface

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-09-24 17:20:18 +08:00
parent c153f9babb
commit 35f2dbf162
319 changed files with 320 additions and 348 deletions

View File

@@ -3,7 +3,7 @@ declare namespace org {
namespace event {
namespace block {
// @ts-ignore
class BlockRedstoneEvent {
class BlockRedstoneEvent extends org.bukkit.event.block.BlockEvent {
constructor(block: org.bukkit.block.Block, oldCurrent: number, newCurrent: number)
/**
* Gets the old current of this block