we: fix brush #163
Annotations
7 errors
Run yarn tsc -b:
src/modules/world-edit/lib/world-edit-multi-tool.ts#L194
Type '(_: ContainerSlot | ItemStack, returnUndefined: boolean | undefined) => object | undefined' is not assignable to type '{ (slot: ContainerSlot | ItemStack, returnUndefined?: false | undefined): StorageType; (slot: ContainerSlot | ItemStack, returnUndefined: true): StorageType | undefined; }'.
|
Run yarn tsc -b:
src/modules/world-edit/tools/multi-brush.ts#L21
Argument of type 'ToolData' is not assignable to parameter of type 'StorageType'.
|
Run yarn tsc -b:
src/modules/world-edit/tools/multi-shovel.ts#L20
Argument of type 'object | undefined' is not assignable to parameter of type 'StorageType'.
|
Run yarn tsc -b:
src/modules/world-edit/lib/world-edit-multi-tool.ts#L194
Type '(_: ContainerSlot | ItemStack, returnUndefined: boolean | undefined) => object | undefined' is not assignable to type '{ (slot: ContainerSlot | ItemStack, returnUndefined?: false | undefined): StorageType; (slot: ContainerSlot | ItemStack, returnUndefined: true): StorageType | undefined; }'.
|
Run yarn tsc -b:
src/modules/world-edit/tools/multi-brush.ts#L21
Argument of type 'ToolData' is not assignable to parameter of type 'StorageType'.
|
Run yarn tsc -b:
src/modules/world-edit/tools/multi-shovel.ts#L20
Argument of type 'object | undefined' is not assignable to parameter of type 'StorageType'.
|
Run yarn tsc -b
Process completed with exit code 2.
|
Loading