mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 11:39:28 +08:00
Merge pull request #25881 from krasevych/patch-1
NextJS: Add definition for setAssetPrefix
This commit is contained in:
1
types/next/index.d.ts
vendored
1
types/next/index.d.ts
vendored
@@ -36,6 +36,7 @@ declare namespace next {
|
||||
}
|
||||
|
||||
interface Server {
|
||||
setAssetPrefix: (cdnUrl: string) => void;
|
||||
handleRequest(
|
||||
req: http.IncomingMessage,
|
||||
res: http.ServerResponse,
|
||||
|
||||
Reference in New Issue
Block a user