refactor(code-push): follow member-access lint rule

This commit is contained in:
Daniel 2018-09-17 16:09:15 +02:00
parent d5011fb105
commit 84db491ead
2 changed files with 3 additions and 4 deletions

View File

@ -189,18 +189,18 @@ declare class AcquisitionStatus {
declare class AcquisitionManager { declare class AcquisitionManager {
constructor(httpRequester: Http.Requester, configuration: Configuration); constructor(httpRequester: Http.Requester, configuration: Configuration);
public queryUpdateWithCurrentPackage( queryUpdateWithCurrentPackage(
currentPackage: IPackage, currentPackage: IPackage,
callback?: Callback<IRemotePackage | NativeUpdateNotification> callback?: Callback<IRemotePackage | NativeUpdateNotification>
): void; ): void;
public reportStatusDeploy( reportStatusDeploy(
pkg?: IPackage, pkg?: IPackage,
status?: string, status?: string,
previousLabelOrAppVersion?: string, previousLabelOrAppVersion?: string,
previousDeploymentKey?: string, previousDeploymentKey?: string,
callback?: Callback<void> callback?: Callback<void>
): void; ): void;
public reportStatusDownload(pkg: IPackage, callback?: Callback<void>): void; reportStatusDownload(pkg: IPackage, callback?: Callback<void>): void;
} }
interface CodePushCordovaPlugin { interface CodePushCordovaPlugin {

View File

@ -11,7 +11,6 @@
"only-arrow-functions": false, "only-arrow-functions": false,
"ter-no-proto": false, "ter-no-proto": false,
"callable-types": false, "callable-types": false,
"member-access": false,
"adjacent-overload-signatures": false, "adjacent-overload-signatures": false,
"no-angle-bracket-type-assertion": false, "no-angle-bracket-type-assertion": false,
"no-constant-condition": false "no-constant-condition": false