Try to fix infer type (#7148)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-11-11 12:55:50 +05:00 committed by GitHub
parent 0820631e62
commit afdbf5aed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -307,9 +307,6 @@ export function inferType (val: any): string {
}
}
if (typeof val === 'object') {
if (val == null) {
return ''
}
if (val instanceof Date) {
return '::text'
}