refactor(angular): enable TS strict

This commit is contained in:
Manu Mtz.-Almeida
2018-07-25 14:29:32 +02:00
parent a5898163b6
commit f1c2c0c1ba
11 changed files with 62 additions and 76 deletions

View File

@ -49,7 +49,7 @@ export class Platform {
readyResolve('cordova');
}, {once: true});
} else {
readyResolve('dom');
readyResolve!('dom');
}
}
@ -169,7 +169,7 @@ export class Platform {
/**
* Get the query string parameter
*/
getQueryParam(key: string): string {
getQueryParam(key: string): string | null {
return readQueryParam(window.location.href, key);
}