From d23b9f7d496e24d17629ec3f902e6187cb2ae6bb Mon Sep 17 00:00:00 2001 From: B Date: Thu, 13 Jul 2017 11:05:56 -0500 Subject: [PATCH] docs(toast): add import statement in usage (#12278) Cannot use ToastController without knowing from where to import it --- src/components/toast/toast-controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/toast/toast-controller.ts b/src/components/toast/toast-controller.ts index ef4ae3dbe3..f482cbcae1 100644 --- a/src/components/toast/toast-controller.ts +++ b/src/components/toast/toast-controller.ts @@ -37,6 +37,8 @@ import { ToastOptions } from './toast-options'; * * @usage * ```ts + * import { ToastController } from 'ionic-angular'; + * * constructor(private toastCtrl: ToastController) { * * }