feat(types): deny unknown attributes on component by default (#1614)

close #1519
This commit is contained in:
HcySunYang
2020-07-17 23:43:28 +08:00
committed by GitHub
parent 77659fa037
commit 5d8a64d53a
11 changed files with 100 additions and 58 deletions

View File

@@ -50,7 +50,7 @@ type RawProps = VNodeProps & {
__v_isVNode?: never
// used to differ from Array children
[Symbol.iterator]?: never
}
} & { [key: string]: any }
type RawChildren =
| string