fix(vue): update imports for types and ionicons

Closes #18701
This commit is contained in:
Simon Wicki
2019-07-02 21:57:47 +02:00
committed by Mike Hartington
parent f16b118794
commit f56fea6a1f
6 changed files with 40 additions and 7 deletions

View File

@ -1,3 +1,5 @@
import { HTMLStencilElement } from '@ionic/core';
// A proxy method that initializes the controller and calls requested method
export function proxyMethod(tag: string, method: string, ...opts: any[]): Promise<any> {
return initController(tag).then((ctrl: any) => ctrl[method].apply(ctrl, opts));