fix: typescript errros #123
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/
|