Repository navigation
Expand file tree
/
Copy pathworkspaces-typecheck.log
More file actions
50 lines (42 loc) · 3.95 KB
/
Copy pathworkspaces-typecheck.log
File metadata and controls
50 lines (42 loc) · 3.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
> @campfire/server@0.14.1 typecheck
> tsc --noEmit -p tsconfig.jest.json --rootDir ../..
src/modules/mcp/mcp-tools.ts(4069,13): error TS2322: Type '"crit" | "normal" | "advantage" | "disadvantage"' is not assignable to type '"flat" | "advantage" | "disadvantage"'.
Type '"crit"' is not assignable to type '"flat" | "advantage" | "disadvantage"'.
npm error Lifecycle script `typecheck` failed with error:
npm error code 1
npm error path /Users/anthonyanderson/Documents/wt-1853/apps/server
npm error workspace @campfire/server@0.14.1
npm error location /Users/anthonyanderson/Documents/wt-1853/apps/server
npm error command failed
npm error command sh -c tsc --noEmit -p tsconfig.jest.json --rootDir ../..
> @campfire/web@0.14.1 typecheck
> tsc --noEmit -p tsconfig.json && npm run test:e2e:typecheck
src/components/CharacterStatCard.tsx(336,67): error TS2552: Cannot find name 'critDamageExpr'. Did you mean 'damageExpr'?
src/features/ai-dm/aiDmUndoLever.ts(1,15): error TS2305: Module '"@campfire/schema"' has no exported member 'DriverLastUndoableCommit'.
src/features/ai-dm/AiTablePage.tsx(53,15): error TS2305: Module '"@campfire/schema"' has no exported member 'DriverLastUndoableCommit'.
src/features/characters/CharacterPage.tsx(752,22): error TS2304: Cannot find name 'NotesRail'.
src/features/characters/CharacterPage.tsx(1356,101): error TS2322: Type '(e: MouseEvent<Element, MouseEvent>) => void' is not assignable to type '(mode: RollMode, event?: MouseEvent<Element, MouseEvent> | undefined) => void'.
Types of parameters 'e' and 'mode' are incompatible.
Type 'string' is not assignable to type 'MouseEvent<Element, MouseEvent>'.
Type 'string' is not assignable to type 'MouseEvent<Element, MouseEvent>'.
src/features/characters/CharacterPage.tsx(1365,46): error TS2345: Argument of type '"flat"' is not assignable to parameter of type 'RollMode | (() => RollMode)'.
src/features/characters/CharacterPage.tsx(1468,46): error TS2345: Argument of type '"flat"' is not assignable to parameter of type 'RollMode | (() => RollMode)'.
src/features/characters/CharacterPage.tsx(1577,46): error TS2345: Argument of type '"flat"' is not assignable to parameter of type 'RollMode | (() => RollMode)'.
src/features/characters/CharacterPage.tsx(1751,64): error TS2345: Argument of type 'MouseEvent<Element, MouseEvent>' is not assignable to parameter of type 'RollMode'.
src/features/characters/CharacterPage.tsx(1751,79): error TS2367: This comparison appears to be unintentional because the types 'MouseEvent<Element, MouseEvent>' and 'string' have no overlap.
src/features/characters/CharacterPage.tsx(1751,106): error TS2367: This comparison appears to be unintentional because the types 'MouseEvent<Element, MouseEvent>' and 'string' have no overlap.
src/features/characters/CharacterPage.tsx(1752,68): error TS2345: Argument of type 'RollMode' is not assignable to parameter of type 'Adv'.
Type '"normal"' is not assignable to type 'Adv'.
src/features/characters/CharacterPage.tsx(1766,58): error TS2367: This comparison appears to be unintentional because the types 'MouseEvent<Element, MouseEvent>' and 'string' have no overlap.
src/features/characters/CharacterPage.tsx(1766,163): error TS2367: This comparison appears to be unintentional because the types 'MouseEvent<Element, MouseEvent>' and 'string' have no overlap.
src/features/encounters/ActionUseFlow.tsx(20,30): error TS2307: Cannot find module '../../lib/encounter' or its corresponding type declarations.
src/lib/query.ts(21,47): error TS2305: Module '"@campfire/schema"' has no exported member 'DriverLastUndoableCommit'.
npm error Lifecycle script `typecheck` failed with error:
npm error code 2
npm error path /Users/anthonyanderson/Documents/wt-1853/apps/web
npm error workspace @campfire/web@0.14.1
npm error location /Users/anthonyanderson/Documents/wt-1853/apps/web
npm error command failed
npm error command sh -c tsc --noEmit -p tsconfig.json && npm run test:e2e:typecheck
> @campfire/schema@0.14.1 typecheck
> tsc --noEmit -p tsconfig.json