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

Open stockbal opened 1 week ago

stockbal commented 1 week 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