lint fixes
This commit is contained in:
parent
6c7865a8ec
commit
b9c01a287c
@ -29,7 +29,7 @@ export function isArray<T>(value: unknown): value is T[] {
|
||||
}
|
||||
|
||||
export function toArray(value?: string | List): List {
|
||||
return isString(value) ? [value] : value ?? [];
|
||||
return isString(value) ? [value] : (value ?? []);
|
||||
}
|
||||
|
||||
export function isRedirectWithParameters(object: any | IqserRedirectToNavigationParameters): object is IqserRedirectToNavigationParameters {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user