Skip to content

Commit

Permalink
add _options alias to options
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 17, 2024
1 parent 17a23a8 commit d6aee48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/egg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ export class EggApplicationCore extends EggCore {
}, 'load files');
}

/**
* @deprecated please use `options` property instead
*/
get _options() {
return this.options;
}

protected async loadConfig() {
await this.loader.loadConfig();
}
Expand Down

0 comments on commit d6aee48

Please sign in to comment.