Skip to content

Commit 5d39db2

Browse files
authored
Fix updateSlot event type (#3425)
1 parent 78b4ecc commit 5d39db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ export class Painting {
649649
interface StorageEvents {
650650
open: () => void
651651
close: () => void
652-
updateSlot: (oldItem: Item | null, newItem: Item | null) => void
652+
updateSlot: (slot: number, oldItem: Item | null, newItem: Item | null) => void
653653
}
654654

655655
interface FurnaceEvents extends StorageEvents {

0 commit comments

Comments
 (0)