mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-08 12:57:46 +00:00
This add a root-level `typescript` version that matches the one used throughout for VS Code (and other IDEs) to use when browsing the code. After this PR merges, you will be able to set VS Code's TypeScript version to match the project's version. This will remove issues where the IDE says TypeScript compilation is good to go, but `pnpm build` disagrees. If there's a better way to allow this, please suggest it! --- To enable: <img width="849" alt="Screenshot 2023-04-25 at 4 28 22 PM" src="https://user-images.githubusercontent.com/41545/234408245-205b3260-7b1d-4c43-a531-d616915dbefb.png"> Then: <img width="1015" alt="Screenshot 2023-04-25 at 4 29 20 PM" src="https://user-images.githubusercontent.com/41545/234408271-4e7b4ec8-0be3-4743-afd7-813a267c0756.png">
1.3 KiB
1.3 KiB
Interface: ExtraResponseInit
Hierarchy
-
Omit<ResponseInit,"headers">↳
ExtraResponseInit
Table of contents
Properties
Properties
headers
• Optional headers: HeadersInit
These headers will be sent to the user response along with the response headers from the origin.
Defined in
packages/edge/src/middleware-helpers.ts:31
request
• Optional request: ModifiedRequest
Fields to rewrite for the upstream request.
Defined in
packages/edge/src/middleware-helpers.ts:35
status
• Optional status: number
Inherited from
Omit.status
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1624
statusText
• Optional statusText: string
Inherited from
Omit.statusText
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1625