refactor: follow array-type lint rule

This commit is contained in:
Daniel
2018-09-17 16:05:37 +02:00
parent 60a7190eda
commit c9d41ebd8a
31 changed files with 115 additions and 114 deletions
@@ -126,7 +126,7 @@ export class Globalization extends IonicNativePlugin {
/**
* Returns an array of the names of the months or days of the week, depending on the client's user preferences and calendar.
* @param options Object with type (narrow or wide) and item (month or days).
* @returns {Promise<{value: Array<string>}>} Returns a promise.
* @returns {Promise<{value: string[]}>} Returns a promise.
*/
@Cordova({
callbackOrder: 'reverse'
@@ -134,7 +134,7 @@ export class Globalization extends IonicNativePlugin {
getDateNames(options: {
type: string;
item: string;
}): Promise<{ value: Array<string> }> {
}): Promise<{ value: string[] }> {
return;
}