types: using unknown instead of any (#8152)

* types: using unknown instead of any

* chore: UnknownProp
This commit is contained in:
neverland
2021-02-14 12:37:02 +08:00
committed by GitHub
parent 393b2a256f
commit 08e928111b
23 changed files with 81 additions and 56 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { createNamespace } from '../utils';
import { createNamespace, UnknownProp } from '../utils';
import { ACTION_BAR_KEY } from '../action-bar';
// Composition
@@ -19,7 +19,7 @@ export default createComponent({
icon: String,
color: String,
badge: [Number, String],
iconClass: null,
iconClass: UnknownProp,
},
setup(props, { slots }) {