Skip to content

Commit

Permalink
chore(typings): export PowerPartial (#2327)
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong authored and atian25 committed Apr 9, 2018
1 parent 33d3951 commit 4418841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ declare module 'egg' {
* // { view: { defaultEngines: string } } => { view?: { defaultEngines?: string } }
* type EggConfig = PowerPartial<EggAppConfig>
*/
type PowerPartial<T> = {
export type PowerPartial<T> = {
[U in keyof T]?: T[U] extends object
? PowerPartial<T[U]>
: T[U]
Expand Down

0 comments on commit 4418841

Please sign in to comment.