Skip to content

Commit

Permalink
Merge branch 'canary' into support-next-head
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Apr 13, 2022
2 parents 9328d9f + a5103d2 commit b43f790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/server/web/spec-extension/request.ts
Expand Up @@ -13,7 +13,7 @@ export class NextRequest extends Request {
cookieParser(): { [key: string]: string }
geo: RequestData['geo']
ip?: string
page?: { name?: string; params?: { [key: string]: string } }
page?: { name?: string; params?: { [key: string]: string | string[] } }
ua?: UserAgent | null
url: NextURL
}
Expand Down Expand Up @@ -105,7 +105,7 @@ export interface RequestInit extends globalThis.RequestInit {
}
page?: {
name?: string
params?: { [key: string]: string }
params?: { [key: string]: string | string[] }
}
}

Expand Down

0 comments on commit b43f790

Please sign in to comment.