mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
chore(package): bump dependencies and lint rules
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Vibration
|
||||
@@ -37,7 +36,6 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
})
|
||||
@Injectable()
|
||||
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.
|
||||
@@ -45,6 +43,5 @@ export class Vibration extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
vibrate(time: number | Array<number>) { }
|
||||
|
||||
vibrate(time: number | Array<number>) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user