types: reduce any (#8256)

This commit is contained in:
neverland
2021-03-03 17:46:00 +08:00
committed by GitHub
parent d606b32c64
commit 1dc1b708f0
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ export default createComponent({
type="file"
class={bem('input')}
accept={props.accept}
capture={props.capture as any}
capture={(props.capture as unknown) as boolean}
multiple={props.multiple}
disabled={props.disabled}
onChange={onChange}