types: using unknown instead of any (#8152)
* types: using unknown instead of any * chore: UnknownProp
This commit is contained in:
+2
-1
@@ -18,6 +18,7 @@ import {
|
||||
isObject,
|
||||
isPromise,
|
||||
isFunction,
|
||||
UnknownProp,
|
||||
resetScroll,
|
||||
formatNumber,
|
||||
preventDefault,
|
||||
@@ -60,7 +61,7 @@ export default createComponent({
|
||||
formatter: Function as PropType<(value: string) => string>,
|
||||
maxlength: [Number, String],
|
||||
labelWidth: [Number, String],
|
||||
labelClass: null as any,
|
||||
labelClass: UnknownProp,
|
||||
labelAlign: String as PropType<FieldTextAlign>,
|
||||
inputAlign: String as PropType<FieldTextAlign>,
|
||||
placeholder: String,
|
||||
|
||||
Reference in New Issue
Block a user