diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000000..bda5ef7b5c0 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,30 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Watch", + "type": "shell", + "command": "pnpm check -w", + "options": { + "cwd": "${workspaceRoot}" + }, + "group": { + "kind": "build", + "isDefault": true + }, + "isBackground": true, + "presentation": { + "group": "watch-build" + }, + "problemMatcher": [ + { + "base": "$tsc-watch", + "fileLocation": [ + "relative", + "${workspaceRoot}", + ], + } + ] + } + ] +} diff --git a/packages/platform/src/Headers.ts b/packages/platform/src/Headers.ts index 844c751552c..36129a76031 100644 --- a/packages/platform/src/Headers.ts +++ b/packages/platform/src/Headers.ts @@ -36,7 +36,7 @@ export const isHeaders = (u: unknown): u is Headers => Predicate.hasProperty(u, */ export interface Headers { readonly [HeadersTypeId]: HeadersTypeId - readonly [key: string]: string + readonly [key: string]: Redacted.Redacted | string } const Proto = Object.assign(Object.create(null), {