Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency upgrades - non-major (#72)
* Update dependency upgrades - non-major * Create next@13.3.0.patch * Delete next@13.2.4.patch * Update patch path * Update dependencies, lockfile * Fix type error with router.push path Ref: vercel/next.js#48099 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Karl Horky <karl.horky@gmail.com>
- Loading branch information
1 parent
a4378e1
commit a8fc247
Showing
5 changed files
with
164 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
diff --git a/dist/server/web/spec-extension/response.d.ts b/dist/server/web/spec-extension/response.d.ts | ||
index 268f52b1f12c2f1bb9d71f7c51d8dd6cf3194ac8..2b6b94bd8b68338be31b89cdbee01d7e8dbee9b4 100644 | ||
--- a/dist/server/web/spec-extension/response.d.ts | ||
+++ b/dist/server/web/spec-extension/response.d.ts | ||
@@ -2,14 +2,15 @@ import type { I18NConfig } from '../../config-shared'; | ||
import { NextURL } from '../next-url'; | ||
import { ResponseCookies } from './cookies'; | ||
declare const INTERNALS: unique symbol; | ||
-export declare class NextResponse extends Response { | ||
+export declare class NextResponse<B = void> extends Response { | ||
[INTERNALS]: { | ||
cookies: ResponseCookies; | ||
url?: NextURL; | ||
+ B: B; | ||
}; | ||
constructor(body?: BodyInit | null, init?: ResponseInit); | ||
get cookies(): ResponseCookies; | ||
- static json(body: any, init?: ResponseInit): NextResponse; | ||
+ static json<T>(body: T, init?: ResponseInit): NextResponse<T>; | ||
static redirect(url: string | NextURL | URL, init?: number | ResponseInit): NextResponse; | ||
static rewrite(destination: string | NextURL | URL, init?: MiddlewareResponseInit): NextResponse; | ||
static next(init?: MiddlewareResponseInit): NextResponse; | ||
diff --git a/index.d.ts b/index.d.ts | ||
index cba2b1dd4e056208cfc9b34af23b90095bf8a661..853c978956a9d386cf6ea22c2c9d62b9dca3e17a 100644 | ||
--- a/index.d.ts | ||
+++ b/index.d.ts | ||
@@ -13,5 +13,6 @@ | ||
/// <reference path="./script.d.ts" /> | ||
/// <reference path="./server.d.ts" /> | ||
|
||
+export type Route = string & {}; | ||
export { default } from './types' | ||
export * from './types' |
Oops, something went wrong.