From eb29f6eeaf51024931069232ffd01bdd2b9f2fa1 Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Tue, 19 Feb 2019 00:33:47 +0100 Subject: [PATCH] feat: update typings This is part of [apache/cordova#39](https://github.com/apache/cordova/issues/39) --- types/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 234224b..eadb6fc 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -8,13 +8,15 @@ interface Navigator { /** * Vibrates the device for the specified amount of time. - * @param time Milliseconds to vibrate the device. 0 cancels the vibration. Ignored on iOS. + * + * @param time - Milliseconds to vibrate the device. 0 cancels the vibration. Ignored on iOS. */ vibrate(time: number): void; /** * Vibrates the device with a given pattern. - * @param time Sequence of durations (in milliseconds) for which to turn on or off the vibrator. Ignored on iOS. + * + * @param time - Sequence of durations (in milliseconds) for which to turn on or off the vibrator. Ignored on iOS. */ vibrate(time: number[]): void; }