Skip to content

Commit

Permalink
Merge pull request #2 from TheOriginalJosh/patch-1
Browse files Browse the repository at this point in the history
TypeScript support
  • Loading branch information
anarchicknight committed Oct 16, 2016
2 parents 0c3ddd3 + 08665e3 commit c0a2fe9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
declare module 'nativescript-vibrate' {
/**
*iOS - There is no API to vibrate for a specific amount of time, so it will vibrate for the default no matter what (the duration is ignored)
*/
export function vibration(milliseconds: number);
}

0 comments on commit c0a2fe9

Please sign in to comment.