we: fix brush #163
Annotations
12 errors
Lint:
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; }'.
|
Lint:
src/modules/world-edit/tools/multi-brush.ts#L21
Argument of type 'ToolData' is not assignable to parameter of type 'StorageType'.
|
Lint:
src/modules/world-edit/tools/multi-shovel.ts#L20
Argument of type 'object | undefined' is not assignable to parameter of type 'StorageType'.
|
Lint:
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; }'.
|
Lint:
src/modules/world-edit/tools/multi-brush.ts#L21
Argument of type 'ToolData' is not assignable to parameter of type 'StorageType'.
|
Lint:
src/modules/world-edit/tools/multi-shovel.ts#L20
Argument of type 'object | undefined' is not assignable to parameter of type 'StorageType'.
|
Lint
Process completed with exit code 2.
|
src/lib/location.test.ts:
src/test/__mocks__/minecraft_server.ts#L215
RangeError: Maximum call stack size exceeded
❯ Module.system src/test/__mocks__/minecraft_server.ts:215:98
❯ jobInterval src/lib/player-move.ts:40:9
❯ jobPlayerPosition src/lib/player-move.ts:498:5
❯ System.runJob src/test/__mocks__/minecraft_server.ts:187:16
❯ jobInterval src/lib/player-move.ts:40:9
❯ jobPlayerPosition src/lib/player-move.ts:498:5
❯ System.runJob src/test/__mocks__/minecraft_server.ts:187:16
❯ jobInterval src/lib/player-move.ts:40:9
|
src/lib/region/database.test.ts:
src/test/__mocks__/minecraft_server.ts#L215
RangeError: Maximum call stack size exceeded
❯ Module.system src/test/__mocks__/minecraft_server.ts:215:98
❯ jobInterval src/lib/player-move.ts:40:9
❯ jobPlayerPosition src/lib/player-move.ts:498:5
❯ System.runJob src/test/__mocks__/minecraft_server.ts:187:16
❯ jobInterval src/lib/player-move.ts:40:9
❯ jobPlayerPosition src/lib/player-move.ts:498:5
❯ System.runJob src/test/__mocks__/minecraft_server.ts:187:16
❯ jobInterval src/lib/player-move.ts:40:9
|
src/lib/region/areas/flattened-sphere.test.ts:
src/test/__mocks__/minecraft_server.ts#L215
RangeError: Maximum call stack size exceeded
❯ Module.system src/test/__mocks__/minecraft_server.ts:215:98
❯ jobInterval src/lib/player-move.ts:40:9
❯ jobPlayerPosition src/lib/player-move.ts:498:5
❯ System.runJob src/test/__mocks__/minecraft_server.ts:187:16
❯ jobInterval src/lib/player-move.ts:40:9
❯ jobPlayerPosition src/lib/player-move.ts:498:5
❯ System.runJob src/test/__mocks__/minecraft_server.ts:187:16
❯ jobInterval src/lib/player-move.ts:40:9
|
src/lib/region/areas/rectangle.test.ts:
src/test/__mocks__/minecraft_server.ts#L215
RangeError: Maximum call stack size exceeded
❯ Module.system src/test/__mocks__/minecraft_server.ts:215:98
❯ jobInterval src/lib/player-move.ts:40:9
❯ jobPlayerPosition src/lib/player-move.ts:498:5
❯ System.runJob src/test/__mocks__/minecraft_server.ts:187:16
❯ jobInterval src/lib/player-move.ts:40:9
❯ jobPlayerPosition src/lib/player-move.ts:498:5
❯ System.runJob src/test/__mocks__/minecraft_server.ts:187:16
❯ jobInterval src/lib/player-move.ts:40:9
|
Test
Process completed with exit code 1.
|