cloudflare / cloudflare/workerd
type D1Result problem
Open
types
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
According to the documentation, the 'success' field under D1Result should be of type boolean, but currently, it is set to true.
https://developers.cloudflare.com/d1/platform/client-api/#return-object
```ts
declare interface D1Result {
results: T[];
success: true;
meta: any;
error?: never;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.