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
the following error occurs: Property 'bind' does not exist on type 'Awaitable<SELECT_3<PluralInstanceType<typeof Books>>, PluralInstanceType<typeof Books>>'.ts(2339)
but the method 'bind()' does exists and the code is working as exepcted.
Please don't get me wrong, this is no something severe, I just wanted to mention it so you know about it.
Is there an existing issue for this?
Current Behavior
when using
from the capire documentation:
https://cap.cloud.sap/docs/node.js/cds-ql#bind-srv
the following error occurs:
Property 'bind' does not exist on type 'Awaitable<SELECT_3<PluralInstanceType<typeof Books>>, PluralInstanceType<typeof Books>>'.ts(2339)
but the method 'bind()' does exists and the code is working as exepcted.
Please don't get me wrong, this is no something severe, I just wanted to mention it so you know about it.
Expected Behavior
No type error
References
https://cap.cloud.sap/docs/node.js/cds-ql#bind-srv
Versions
@cap-js/asyncapi: 1.0.2
@cap-js/cds-typer: 0.31.0
@cap-js/cds-types: 0.7.0
@cap-js/db-service: 1.15.1
@cap-js/openapi: 1.1.1
@cap-js/sqlite: 1.7.7
@sap/cds: 8.6.0
@sap/cds-compiler: 5.4.4
@sap/cds-dk: 8.6.1
@sap/cds-dk (global): 8.6.1
@sap/cds-fiori: 1.2.7
@sap/cds-foss: 5.0.1
@sap/cds-hana: 2.0.0
@sap/cds-mtxs: 2.4.2
@sap/eslint-plugin-cds: 3.1.2
Node.js: v20.18.1
Anything else? Logs?
No response
The text was updated successfully, but these errors were encountered: