types(AddressEdit): validator prop typing (#8284)

This commit is contained in:
neverland 2021-03-05 11:05:50 +08:00 committed by GitHub
parent 09e1eb5a0d
commit 08086c8002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,9 @@ export default createComponent({
areaList: Object as PropType<AreaList>,
isSaving: Boolean,
isDeleting: Boolean,
validator: Function,
validator: Function as PropType<
(key: string, value: string) => string | undefined
>,
showDelete: Boolean,
showPostal: Boolean,
disableArea: Boolean,