From 4302abd02b500291a5c276c3b47df3d132d675d8 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Sun, 6 Mar 2016 13:24:49 -0500 Subject: [PATCH] undo --- src/plugins/push.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/push.ts b/src/plugins/push.ts index b9c2031d..b55caa0c 100644 --- a/src/plugins/push.ts +++ b/src/plugins/push.ts @@ -296,10 +296,10 @@ export class Push { @Cordova() static hasPermission(){ // This Promise is replaced by one from the @Cordova decorator that wraps - // the plugin's callbacks. We provide a dummy one here so TypeScript - // knows that the correct return type is Promise, because there's no way - // for it to know the return type from a decorator. - // See https://github.com/Microsoft/TypeScript/issues/4881 + // the plugin's callbacks. We provide a dummy one here so TypeScript + // knows that the correct return type is Promise, because there's no way + // for it to know the return type from a decorator. + // See https://github.com/Microsoft/TypeScript/issues/4881 return new Promise<{ isEnabled: boolean }>((res, rej) => {}); } }