add support for redacted headers #6321
Annotations
10 errors
Types:
packages/platform/src/Headers.ts#L75
Type 'transform<Record$<typeof String$, Union<[typeof String$, Array$<typeof String$>]>>, Schema<Headers, Headers, never>>' is not assignable to type 'Schema<Headers, ReadonlyRecord<string, string | Redacted<string> | readonly (string | Redacted<string>)[]>, never>'.
|
Types:
packages/platform/src/Headers.ts#L85
Argument of type '{ strict: true; decode: (record: { readonly [x: string]: string | readonly string[]; }) => Headers; encode: <A>(a: A) => A; }' is not assignable to parameter of type '{ readonly decode: (fromA: { readonly [x: string]: string | readonly string[]; }, fromI: { readonly [x: string]: string | readonly string[]; }) => Headers; readonly encode: (toI: Headers, toA: Headers) => { ...; }; readonly strict?: true | undefined; } | { ...; }'.
|
Types:
packages/platform/src/HttpApiBuilder.ts#L691
Property 'slice' does not exist on type 'string | Redacted<string>'.
|
Types:
packages/platform/src/HttpApiBuilder.ts#L716
Argument of type 'string | Redacted<string>' is not assignable to parameter of type 'string'.
|
Types:
packages/platform/src/HttpIncomingMessage.ts#L112
Property 'includes' does not exist on type 'string | Redacted<string>'.
|
Types:
packages/platform/src/HttpIncomingMessage.ts#L118
Property 'includes' does not exist on type 'string | Redacted<string>'.
|
Types:
packages/platform/src/HttpIncomingMessage.ts#L118
Property 'includes' does not exist on type 'string | Redacted<string>'.
|
Types:
packages/platform/src/HttpTraceContext.ts#L52
Property 'split' does not exist on type 'string | Redacted<string>'.
|
Types:
packages/platform/src/HttpTraceContext.ts#L72
Type 'string | Redacted<string>' is not assignable to type 'string'.
|
Types:
packages/platform/src/HttpTraceContext.ts#L73
Type 'string | Redacted<string>' is not assignable to type 'string'.
|