mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
refactor(angular): enable TS strict
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user