Skip to content

Commit

Permalink
tsd: add another properties of FileStream (#1080)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rwing authored and popomore committed Jun 21, 2017
1 parent 2b1644e commit 1d02601
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,20 @@ export interface Application extends EggApplication {

interface FileStream extends Readable { // tslint:disable-line
fields: any;

filename: string;

fieldname: string;

mime: string;

mimeType: string;

transferEncoding: string;

encoding: string;

truncated: boolean;
}

export interface Context extends KoaApplication.Context {
Expand Down

0 comments on commit 1d02601

Please sign in to comment.