-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypescript_errors.log
More file actions
12 lines (12 loc) · 1.1 KB
/
Copy pathtypescript_errors.log
File metadata and controls
12 lines (12 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
app/api/editor/save/route.ts(83,9): error TS2322: Type '{ pages: any; messages: unknown[]; }' is not assignable to type 'NullableJsonNullValueInput | InputJsonValue | undefined'.
Type '{ pages: any; messages: unknown[]; }' is not assignable to type 'InputJsonObject'.
Property 'messages' is incompatible with index signature.
Type 'unknown[]' is not assignable to type 'InputJsonValue | null | undefined'.
Type 'unknown[]' is not assignable to type 'InputJsonObject'.
Index signature for type 'string' is missing in type 'unknown[]'.
app/api/editor/save/route.ts(88,9): error TS2322: Type '{ pages: any; messages: unknown[]; }' is not assignable to type 'NullableJsonNullValueInput | InputJsonValue | undefined'.
Type '{ pages: any; messages: unknown[]; }' is not assignable to type 'InputJsonObject'.
Property 'messages' is incompatible with index signature.
Type 'unknown[]' is not assignable to type 'InputJsonValue | null | undefined'.
Type 'unknown[]' is not assignable to type 'InputJsonObject'.
Index signature for type 'string' is missing in type 'unknown[]'.