Skip to content

Commit

Permalink
Added typescript definitions (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilobuerger authored and marcshilling committed Sep 13, 2018
1 parent e12edb0 commit 228e091
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions index.d.ts
@@ -0,0 +1,4 @@
declare namespace RNIdleTimer {
function setIdleTimerDisabled(disabled: boolean): void;
}
export = RNIdleTimer
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -20,5 +20,6 @@
"dim"
],
"nativePackage": true,
"main": "index.js"
"main": "index.js",
"types": "index.d.ts"
}

0 comments on commit 228e091

Please sign in to comment.