refactor(types): [wip] define stub context values #1733
Annotations
10 errors and 1 warning
test_and_build:
src/components/AccountingView/AccountingView.test.js#L24
Type '{ gameState: {}; handlers: {}; }' is not assignable to type 'contextData'.
|
test_and_build:
src/components/Achievement/Achievement.test.js#L25
Type '{ gameState: {}; handlers: {}; }' is not assignable to type 'contextData'.
|
test_and_build:
src/components/AchievementsView/AchievementsView.js#L21
Argument of type '{ id: string; name: string; description: string; rewardDescription: string; condition: (state: any) => plotContentType | null; reward: (state: any) => any; } | { id: string; ... 4 more ...; reward: (state: any) => any; }' is not assignable to parameter of type 'never'.
|
test_and_build:
src/components/AnimatedNumber/AnimatedNumber.js#L19
Property 'cancel' does not exist on type 'never'.
|
test_and_build:
src/components/AnimatedNumber/AnimatedNumber.js#L34
Argument of type 'Tweenable' is not assignable to parameter of type 'SetStateAction<undefined>'.
|
test_and_build:
src/components/AnimatedNumber/AnimatedNumber.js#L39
Property 'cancel' does not exist on type 'never'.
|
test_and_build:
src/components/AppBar/AppBar.js#L28
Property 'cancel' does not exist on type 'never'.
|
test_and_build:
src/components/AppBar/AppBar.js#L35
Argument of type 'string | number' is not assignable to parameter of type 'SetStateAction<string>'.
|
test_and_build:
src/components/AppBar/AppBar.js#L45
Argument of type 'Tweenable' is not assignable to parameter of type 'SetStateAction<undefined>'.
|
test_and_build:
src/components/AppBar/AppBar.js#L50
Property 'cancel' does not exist on type 'never'.
|
test_and_build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-output
|
2.79 MB |
|