From 84db491ead764ffee75d30d9fd29585fd1474218 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 17 Sep 2018 16:09:15 +0200 Subject: [PATCH] refactor(code-push): follow member-access lint rule --- src/@ionic-native/plugins/code-push/index.ts | 6 +++--- tslint.json | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/@ionic-native/plugins/code-push/index.ts b/src/@ionic-native/plugins/code-push/index.ts index be0116ec..fc6dc725 100644 --- a/src/@ionic-native/plugins/code-push/index.ts +++ b/src/@ionic-native/plugins/code-push/index.ts @@ -189,18 +189,18 @@ declare class AcquisitionStatus { declare class AcquisitionManager { constructor(httpRequester: Http.Requester, configuration: Configuration); - public queryUpdateWithCurrentPackage( + queryUpdateWithCurrentPackage( currentPackage: IPackage, callback?: Callback ): void; - public reportStatusDeploy( + reportStatusDeploy( pkg?: IPackage, status?: string, previousLabelOrAppVersion?: string, previousDeploymentKey?: string, callback?: Callback ): void; - public reportStatusDownload(pkg: IPackage, callback?: Callback): void; + reportStatusDownload(pkg: IPackage, callback?: Callback): void; } interface CodePushCordovaPlugin { diff --git a/tslint.json b/tslint.json index 08e5f9a9..7a0f63e1 100644 --- a/tslint.json +++ b/tslint.json @@ -11,7 +11,6 @@ "only-arrow-functions": false, "ter-no-proto": false, "callable-types": false, - "member-access": false, "adjacent-overload-signatures": false, "no-angle-bracket-type-assertion": false, "no-constant-condition": false