You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No overload matches this call.
Overload 1 of 2, '(entity: ArrayConstructable<any>, key?: any): Awaitable<SELECT_3<ArrayConstructable<any>, SELECT_from>, any[]>', gave the following error.
Argument of type 'ref' is not assignable to parameter of type 'ArrayConstructable<any>'.
Type 'ref' provides no match for the signature 'new (...args: any[]): any[]'.
Overload 2 of 2, '(entity: string | Definition_2, key?: any): SELECT_3<unknown, SELECT_from>', gave the following error.
Argument of type 'ref' is not assignable to parameter of type 'string | Definition_2'.ts(2769)
Is there an existing issue for this?
Current Behavior
leads to the type error
Expected Behavior
No response
References
Currently needs to be done via SELECT: https://github.com/SAP-samples/cap-sflight/blob/5154e2eece13485cfaa9f6ea041b3e6f81276743/srv/travel-service.ts#L100
Versions
Anything else? Logs?
No response
The text was updated successfully, but these errors were encountered: