From dd698104944197026772e81ebafaecf6824cc9b5 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Fri, 28 Apr 2017 15:32:13 +0200 Subject: [PATCH] docs(printer): fix example (#1439) `this.p` is not defined as Printer is imported as `printer` --- src/@ionic-native/plugins/printer/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/printer/index.ts b/src/@ionic-native/plugins/printer/index.ts index 845c8ddd8..a5ccd264d 100644 --- a/src/@ionic-native/plugins/printer/index.ts +++ b/src/@ionic-native/plugins/printer/index.ts @@ -62,7 +62,7 @@ export interface PrintOptions { * grayscale: true * }; * - * this.p.print(content, options).then(onSuccess, onError); + * this.printer.print(content, options).then(onSuccess, onError); * ``` * @interfaces * PrintOptions