From b002ce0dd1f30fd53e6e238c5094e21ec60824ef Mon Sep 17 00:00:00 2001 From: Adam Mcgrath Date: Thu, 16 Jun 2022 13:52:41 +0100 Subject: [PATCH] Add Props and Query to GetServerSidePropsWrapper type (#731) --- src/helpers/get-server-side-props-wrapper.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/helpers/get-server-side-props-wrapper.ts b/src/helpers/get-server-side-props-wrapper.ts index 71a953261..9d3ab298c 100644 --- a/src/helpers/get-server-side-props-wrapper.ts +++ b/src/helpers/get-server-side-props-wrapper.ts @@ -1,4 +1,5 @@ import { GetServerSideProps } from 'next'; +import { ParsedUrlQuery } from 'querystring'; import SessionCache from '../session/cache'; /** @@ -30,7 +31,9 @@ import SessionCache from '../session/cache'; * * @category Server */ -export type GetServerSidePropsWrapper = (getServerSideProps: GetServerSideProps) => GetServerSideProps; +export type GetServerSidePropsWrapper

= ( + getServerSideProps: GetServerSideProps +) => GetServerSideProps; /** * @ignore