Skip to content

Antti | Error structure changes #61

Antti | Error structure changes

Antti | Error structure changes #61

GitHub Actions / TypeScript failed Mar 11, 2024 in 0s

5 errors

TypeScript found 5 errors

Annotations

Check failure on line 56 in pages/api/gifts/[uuid].ts

See this annotation in the file changed.

@github-actions github-actions / TypeScript

pages/api/gifts/[uuid].ts#L56

TS2345: Argument of type '{ gift: string; uuid: string; receiver: string; createdAt: Date; updatedAt: Date; }' is not assignable to parameter of type 'Gift'

Check failure on line 79 in pages/api/gifts/[uuid].ts

See this annotation in the file changed.

@github-actions github-actions / TypeScript

pages/api/gifts/[uuid].ts#L79

TS2345: Argument of type '{ gift: string; uuid: string; receiver: string; createdAt: Date; updatedAt: Date; }' is not assignable to parameter of type 'Gift'

Check failure on line 99 in pages/api/gifts/[uuid].ts

See this annotation in the file changed.

@github-actions github-actions / TypeScript

pages/api/gifts/[uuid].ts#L99

TS2345: Argument of type '{ gift: string; uuid: string; receiver: string; createdAt: Date; updatedAt: Date; }' is not assignable to parameter of type 'Gift'

Check failure on line 45 in pages/api/gifts/index.ts

See this annotation in the file changed.

@github-actions github-actions / TypeScript

pages/api/gifts/index.ts#L45

TS2345: Argument of type '{ gift: string; uuid: string; receiver: string; createdAt: Date; updatedAt: Date; }[]' is not assignable to parameter of type 'Gift[]'

Check failure on line 64 in pages/api/gifts/index.ts

See this annotation in the file changed.

@github-actions github-actions / TypeScript

pages/api/gifts/index.ts#L64

TS2345: Argument of type '{ gift: string; uuid: string; receiver: string; createdAt: Date; updatedAt: Date; }' is not assignable to parameter of type 'Gift'