Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,12 @@ declare module 'egg' {
key?: string;
/** ssl cert */
cert?: string;
/**
* Advanced serialization for IPC, requires Node.js >= v12.16.0
* @default json
* @see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#advanced-serialization-for-ipc
*/
serialization?: 'json' | 'advanced';
[prop: string]: any;
}

Expand All @@ -1064,9 +1070,9 @@ declare module 'egg' {
/** specify framework that can be absolute path or npm package */
framework?: string;
/** directory of application, default to `process.cwd()` */
baseDir?: string;
baseDir?: string;
/** ignore single process mode warning */
ignoreWarning? :boolean
ignoreWarning? :boolean
}

export function start(options?:StartOptions):Promise<Application>
Expand Down