cap-js / cds-types

Type definitions for CDS
Apache License 2.0
10 stars 10 forks source link

fix: adds correct type inference when using `.columns` in SELECT #298

Closed stockbal closed 2 weeks ago

stockbal commented 1 month ago

The rework in ql.d.ts resulted in missing/incorrect type inference when using .columns in SELECT queries.

image

As a result the result of such a query is no longer typed as expected but has an any type instead

Closes #322