Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【类型缺失】类型缺失 #312

Open
weifeiyue opened this issue Sep 28, 2023 · 1 comment
Open

【类型缺失】类型缺失 #312

weifeiyue opened this issue Sep 28, 2023 · 1 comment

Comments

@weifeiyue
Copy link

interface MediaFile {
    /** 视频的时间长度 */
    duration: number
    /** 视频的高度 */
    height: number
    /** 本地临时文件大小,单位 B */
    size: number
    /** 本地临时文件路径 (本地路径) */
    tempFilePath: string
    /** 视频缩略图临时文件路径 */
    thumbTempFilePath: string
    /** 视频的宽度 */
    width: number
}

上面类型定义缺少fileType
官方文档是有的
image

@weifeiyue weifeiyue changed the title 类型缺失 【类型缺失】类型缺失 Sep 28, 2023
@weifeiyue
Copy link
Author

weifeiyue commented Sep 28, 2023

@Megasu @Garfield550 @dtysky @SgLy

@types/wechat-miniprogram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant