It looks like TS bindings don't align with actual types when calling 'all' from a prepared statement
It looks like TS bindings don't align with actual types when calling 'all' from a prepared statement
The 'results' field has a type of T[][], when actually it's just T[], so I'm forced to use ts-expect-error. Using version 4.20230628.0 of workers types, but it was the case at least since 4.20230321.0 (that's when I started using D1). Also, I'm using experimental backend for D1
Am I doing something wrong? If not, how do I report it properly (e.g. github issue) so it can be tracked?
The 'results' field has a type of T[][], when actually it's just T[], so I'm forced to use ts-expect-error. Using version 4.20230628.0 of workers types, but it was the case at least since 4.20230321.0 (that's when I started using D1). Also, I'm using experimental backend for D1
Am I doing something wrong? If not, how do I report it properly (e.g. github issue) so it can be tracked?



