Skip to content

fix: typescript errros #123

fix: typescript errros

fix: typescript errros #123

Triggered via pull request August 25, 2024 02:11
Status Failure
Total duration 28s
Artifacts

client.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Build
Argument of type '{ id?: string | undefined; email?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; password?: string | undefined; created_at?: Date | undefined; updated_at?: Date | undefined; }' is not assignable to parameter of type 'SetStateAction<IUser | undefined>'.
Build
Argument of type '{ url?: string | undefined; shorter_name?: string | undefined; }' is not assignable to parameter of type 'ILinkForCreate'.
Build
Argument of type '{ id?: string | undefined; url?: string | undefined; shorter_name?: string | undefined; }' is not assignable to parameter of type 'ILinkForUpdate'.
Build
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Build
Type '{ id?: string | undefined; url?: string | undefined; created_at?: Date | undefined; updated_at?: Date | undefined; shorter_name?: string | undefined; user_id?: string | undefined; }' is not assignable to type 'ILink'.
Build
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Build
'row.original.created_at' is possibly 'undefined'.
Build
'row.original.updated_at' is possibly 'undefined'.
Build
Process completed with exit code 2.
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. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/