Skip to content

Commit

Permalink
[Types] Add resolvedUrl to GetServerSidePropsContext (#290)
Browse files Browse the repository at this point in the history
- Fixed bug with incompatible next v9.5.5
  • Loading branch information
qvil committed Oct 26, 2020
1 parent 639ccd6 commit 910e6c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/wrapper/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export interface GetServerSidePropsContext {
query: ParsedUrlQuery;
preview?: boolean;
previewData?: any;
resolvedUrl: string;
}

//FIXME Use Parameters<GetStaticProps>, see https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterst
Expand Down

0 comments on commit 910e6c7

Please sign in to comment.