Skip to content

Commit

Permalink
type: Added missing types in HttpClientConfig (#4388)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed Sep 4, 2020
1 parent 064cc7a commit a7ae46c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ declare module 'egg' {
enableProxy?: boolean;
/** proxy agent uri or options, default is null. */
proxy?: string | { [key: string]: any };
/** DNS cache lookup interval */
dnsCacheLookupInterval?: number;
/** DNS cache max age */
dnsCacheMaxLength?: number;
}

export interface EggAppConfig {
Expand Down

0 comments on commit a7ae46c

Please sign in to comment.