Skip to content

Commit

Permalink
docs(d.ts): add property of EggAppConfig.development (#2561)
Browse files Browse the repository at this point in the history
reloadOnDebug - whether reload on debug, default is true.
overrideDefault - whether override default watchDirs, default is false.
reloadPattern - whether to reload, use https://github.com/sindresorhus/multimatch
  • Loading branch information
sinalvee authored and dead-horse committed May 16, 2018
1 parent 16a6123 commit 8b7c8bd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,18 @@ declare module 'egg' {
* don't wait all plugins ready, default is true.
*/
fastReady: boolean;
/**
* whether reload on debug, default is true.
*/
reloadOnDebug: boolean;
/**
* whether override default watchDirs, default is false.
*/
overrideDefault: boolean;
/**
* whether to reload, use https://github.com/sindresorhus/multimatch
*/
reloadPattern: string[] | string;
};
/**
* It will ignore special keys when dumpConfig
Expand Down

0 comments on commit 8b7c8bd

Please sign in to comment.