refactor(types): remove unnecessary as any (#1411)

This commit is contained in:
Albert Liu
2020-06-25 23:05:39 +08:00
committed by GitHub
parent 81849d760b
commit a60f3b1430
2 changed files with 4 additions and 4 deletions

View File

@@ -278,7 +278,7 @@ function resolvePropValue(
key: string,
value: unknown
) {
const opt = options[key] as any
const opt = options[key]
if (opt != null) {
const hasDefault = hasOwn(opt, 'default')
// default values