fix(navigation): ts2.4 compatibility

Closes #12233. Closes #12235
This commit is contained in:
Roope Hakulinen
2017-07-10 15:26:31 -04:00
committed by mhartington
parent ad25cd1cd7
commit 08be9dc58b

View File

@@ -1174,7 +1174,7 @@ export class NavControllerBase extends Ion implements NavController {
content && content.resize();
}
goToRoot(_opts: NavOptions) {
goToRoot(_opts: NavOptions): Promise<any> {
return Promise.reject(new Error('goToRoot needs to be implemented by child class'));
}