Skip to content

Commit cf8f3a3

Browse files
committed
add typings
1 parent 423e682 commit cf8f3a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @ts-ignore
22
import { Bot } from 'mineflayer'
3-
3+
import { CollectBlock } from 'mineflayer-collectblock'
44
declare module 'mineflayer' {
55
export interface Bot {
66
vehicle?: Bot['entity']
@@ -9,5 +9,6 @@ declare module 'mineflayer' {
99
stop()
1010
target?: Bot['entity']
1111
}
12+
collectBlock: CollectBlock
1213
}
1314
}

0 commit comments

Comments
 (0)