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
+2 -2
View File
@@ -40,12 +40,12 @@ export class Vibration extends IonicNativePlugin {
/**
* Vibrates the device for given amount of time.
* @param time {number|Array<number>} Milliseconds to vibrate the device. If passed an array of numbers, it will define a vibration pattern. Pass 0 to stop any vibration immediately.
* @param time {number|number[]} Milliseconds to vibrate the device. If passed an array of numbers, it will define a vibration pattern. Pass 0 to stop any vibration immediately.
*/
@Cordova({
sync: true
})
vibrate(time: number | Array<number>) {
vibrate(time: number | number[]) {
}
}