Skip to content

Commit

Permalink
fix(minecraft): use partial types to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Aug 22, 2021
1 parent 2cac86b commit 6d58002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-minecraft/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as mineflayer from 'mineflayer'
export * from './bot'

declare module 'koishi-core' {
interface BotOptions extends mineflayer.BotOptions {}
interface BotOptions extends Partial<mineflayer.BotOptions> {}

namespace Bot {
interface Platforms {
Expand Down

0 comments on commit 6d58002

Please sign in to comment.