cloudflare / cloudflare/workerd
Request: Improve Tail Worker types in `@cloudflare/workers-types`
Open
types
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
- The `Fetcher` class includes the `fetch`, `scheduled`, and `queue` handlers, but not the [`tail`](https://developers.cloudflare.com/workers/runtime-apis/handlers/tail/) handler.
- `ExportedHandlerTailHandler` specifies the type `TraceItem[]` for its `events` parameter, but the documentation refers to [`TailItems`](https://developers.cloudflare.com/workers/runtime-apis/handlers/tail/#tailitems).
Contributor guide
Assessment
This issue has not been assessed yet.