UNPKG

autotel-cloudflare

Version:

The #1 OpenTelemetry package for Cloudflare Workers - complete bindings coverage, native CF OTel integration, advanced sampling

19 lines 757 B
//#region src/values.d.ts /** * Reading values that arrive from outside: a Worker's env, a binding's * response, an error someone threw. Nothing about them is known until one of * these asks, and each answers with the type it looked for or `undefined`. * * This is the boundary. The `typeof` checks and the `unknown` parameters below * are what a boundary is made of; past it, the package works with types. * * Internal - not exported from the package entry points. Deliberately local * rather than shared with `autotel`: this package targets the edge and pulls * in no Node-side dependency. */ /** An object whose fields have not been read yet. */ interface UnknownRecord { [key: string]: unknown; } //#endregion export { UnknownRecord as t };