Skip to content

Commit 2611061

Browse files
committed
fix(index-app-content): fix lint
1 parent 4803912 commit 2611061

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

src/@ionic-native/plugins/index-app-content/index.ts

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import { Injectable } from '@angular/core';
2-
import { Cordova, CordovaFunctionOverride, IonicNativePlugin, Plugin } from '@ionic-native/core';
2+
import {
3+
Cordova,
4+
CordovaFunctionOverride,
5+
IonicNativePlugin,
6+
Plugin
7+
} from '@ionic-native/core';
38
import { Observable } from 'rxjs';
49

510
export interface IndexItem {
@@ -16,7 +21,7 @@ export interface IndexItem {
1621
/**
1722
* Item keywords
1823
*/
19-
keywords?: Array < string > ;
24+
keywords?: Array<string>;
2025

2126
/**
2227
* Lifetime in minutes
@@ -78,7 +83,7 @@ export class IndexAppContent extends IonicNativePlugin {
7883
* @return {Promise<boolean>} Returns a promise that resolves with true if indexing is available, false if not
7984
*/
8085
@Cordova()
81-
isIndexingAvailable(): Promise <boolean> {
86+
isIndexingAvailable(): Promise<boolean> {
8287
return;
8388
}
8489

@@ -88,7 +93,7 @@ export class IndexAppContent extends IonicNativePlugin {
8893
* @return {Promise<any>} Returns if index set was successfull
8994
*/
9095
@Cordova()
91-
setItems(items: Array <IndexItem> ): Promise < any > {
96+
setItems(items: Array<IndexItem>): Promise<any> {
9297
return;
9398
}
9499

@@ -98,7 +103,7 @@ export class IndexAppContent extends IonicNativePlugin {
98103
* @return {Promise<any>} Resolve if successfull
99104
*/
100105
@Cordova()
101-
clearItemsForDomains(domains: Array <string> ): Promise < any > {
106+
clearItemsForDomains(domains: Array<string>): Promise<any> {
102107
return;
103108
}
104109

@@ -108,7 +113,7 @@ export class IndexAppContent extends IonicNativePlugin {
108113
* @return {Promise<any>} Resolve if successfull
109114
*/
110115
@Cordova()
111-
clearItemsForIdentifiers(identifiers: Array < string > ): Promise < any > {
116+
clearItemsForIdentifiers(identifiers: Array<string>): Promise<any> {
112117
return;
113118
}
114119

@@ -118,7 +123,7 @@ export class IndexAppContent extends IonicNativePlugin {
118123
* @returns {Observable<any>} returns an observable that notifies you when he user presses on the home screen icon
119124
*/
120125
@CordovaFunctionOverride()
121-
onItemPressed(): Observable < any > {
126+
onItemPressed(): Observable<any> {
122127
return;
123128
}
124129

tslint.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
"member-access": false,
1717
"adjacent-overload-signatures": false,
1818
"no-angle-bracket-type-assertion": false,
19-
"space-within-parens": false,
2019
"no-irregular-whitespace": false,
21-
"no-duplicate-imports": false,
2220
"no-constant-condition": false
2321
}
2422
}

0 commit comments

Comments
 (0)