Fixed tsc warnings and errors.
This commit is contained in:
parent
696bb89e04
commit
b7c6ae1f55
9 changed files with 71 additions and 36 deletions
frontend/src/mixins
|
@ -11,7 +11,7 @@ function isDate(key: string, value: string): boolean {
|
|||
)
|
||||
}
|
||||
|
||||
function parseValue(key: string, value: string | null): string | number | boolean | Date {
|
||||
function parseValue(key: string, value: string | null): string | number | boolean | Date | undefined {
|
||||
value = decodeURI(value?.trim() || '')
|
||||
if (!value.length) {
|
||||
return undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue