mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(all): ts strict (part 3)
This commit is contained in:
@ -139,13 +139,13 @@ export class Tabs implements NavOutlet {
|
||||
}
|
||||
|
||||
@Method()
|
||||
getRouteId(): RouteID|null {
|
||||
getRouteId(): RouteID|undefined {
|
||||
const id = this.selectedTab && this.selectedTab.getTabId();
|
||||
return id ? {id} : null;
|
||||
return id ? {id} : undefined;
|
||||
}
|
||||
|
||||
@Method()
|
||||
getContainerEl(): HTMLElement {
|
||||
getContainerEl(): HTMLElement|undefined {
|
||||
return this.selectedTab;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user