fix: js error as guest on DiscussionListItem #3054
frontend.yml
on: push
run
/
Checks & Build
5m 54s
Annotations
6 errors, 3 warnings, and 1 notice
run / Checks & Build
Property 'flags' does not exist on type 'Post'.
|
run / Checks & Build
Parameter 'flag' implicitly has an 'any' type.
|
run / Checks & Build
Argument of type '"flagReason"' is not assignable to parameter of type 'KeyOfType<Post<any>, Function> | KeyOfType<Post<any>, Function>[]'.
|
run / Checks & Build
Object is of type 'unknown'.
|
run / Checks & Build
Cannot find module '../forum/models/Flag' or its corresponding type declarations.
|
run / Checks & Build
Cannot find module '../forum/states/FlagListState' or its corresponding type declarations.
|
run / Checks & Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, flarum/action-build@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
run / Checks & Build
[akismet] Failed running (build-typings)
|
run / Checks & Build
[pusher] Failed running (build-typings)
|
run / Checks & Build
Not committing changes to Git
|