cloudflare / cloudflare/workerd
Missing `include` field on `R2ListOptions`?
Open
types
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
The `include` filed seems to be missing on the `R2ListOptions`, even though it does work and is documented [here](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/#r2listoptions).
"Object literal may only specify known properties, and 'include' does not exist in type 'R2ListOptions'." (LSP)
The `R2ListOptions` interface installed with `@cloudflare/workers-types`:
```ts
declare interface R2ListOptions {
limit?: number;
prefix?: string;
cursor?: string;
delimiter?: string;
startAfter?: string;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.