Skip to content

Commit

Permalink
feature/types: add request files signature
Browse files Browse the repository at this point in the history
  • Loading branch information
zaiste committed Jan 11, 2020
1 parent 1d05ade commit c944078
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ declare module 'huncwot' {
interface Request {
params: {
[name: string]: any
},
files: {
[name: string]: {
name: string
length: number
data: any
encoding: string
mimetype: string
}
}
}

Expand Down

0 comments on commit c944078

Please sign in to comment.