Chore: Remove several instances of non-strict null usage (#20563)

This commit is contained in:
kay delaney
2019-11-26 09:01:32 +00:00
committed by GitHub
parent 665079dc8c
commit 514f2beafc
29 changed files with 88 additions and 86 deletions

View File

@@ -18,8 +18,8 @@ export interface LocationUpdate {
replace?: boolean;
}
export type UrlQueryValue = string | number | boolean | string[] | number[] | boolean[];
export type UrlQueryMap = { [s: string]: UrlQueryValue };
export type UrlQueryValue = string | number | boolean | string[] | number[] | boolean[] | undefined;
export type UrlQueryMap = Record<string, UrlQueryValue>;
export interface LocationSrv {
update(options: LocationUpdate): void;