add support for redacted headers #6318
Annotations
10 errors
Types:
packages/platform/src/Headers.ts#L78
Type 'transform<Record$<typeof String$, Union<[Union<[typeof String$, Array$<typeof String$>]>, Union<[Redacted<typeof String$>, Array$<Redacted<typeof String$>>]>]>>, Schema<...>>' is not assignable to type 'Schema<Headers, ReadonlyRecord<string, string | readonly string[] | Redacted<string> | readonly Redacted<string>[]>, never>'.
|
Types:
packages/platform/src/Headers.ts#L115
Type 'string | readonly string[] | readonly Redacted<string>[]' is not assignable to type 'string'.
|
Types:
packages/platform/src/Headers.ts#L221
Type 'string | readonly string[] | Redacted<string> | readonly Redacted<string>[]' is not assignable to type 'string | Redacted<string>'.
|
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'.
|