Skip to content

Commit

Permalink
fix(types): 补充 chooseImage 在 H5 下的类型
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfield550 committed Jan 2, 2020
1 parent 3a20fe4 commit 23aca91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/taro/types/api/media/image.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ declare namespace Taro {
path: string
/** 本地临时文件大小,单位 B */
size: number
/** (仅 H5) 文件的 MIME 类型 */
type?: string
/** (仅 H5) 原始的浏览器 File 对象 */
originalFileObj?: File
}
}
/**
Expand Down

0 comments on commit 23aca91

Please sign in to comment.