From 61201375c1337991476b601b63c11e9b968dcd5e Mon Sep 17 00:00:00 2001 From: Joe Au-Yeung Date: Tue, 22 Aug 2023 21:46:47 -0400 Subject: [PATCH] Abstract NextApi types --- packages/lib/test/types.d.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 packages/lib/test/types.d.ts diff --git a/packages/lib/test/types.d.ts b/packages/lib/test/types.d.ts new file mode 100644 index 0000000000..7e1c352dc5 --- /dev/null +++ b/packages/lib/test/types.d.ts @@ -0,0 +1,2 @@ +export type CustomNextApiRequest = NextApiRequest & Request; +export type CustomNextApiResponse = NextApiResponse & Response;