Skip to content

Commit

Permalink
chore(typings): change elements of EggAppConfig['view'] optional
Browse files Browse the repository at this point in the history
root, cache, defaultExtension
  • Loading branch information
waitingsong committed Apr 5, 2018
1 parent 6c32d10 commit 9334658
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ declare module 'egg' {
} & PlainObject;

view: {
root: string;
cache: boolean;
defaultExtension: string;
root?: string;
cache?: boolean; // default true
defaultExtension?: string;
defaultViewEngine: string;
mapping: PlainObject<string>;
};
Expand Down

0 comments on commit 9334658

Please sign in to comment.