Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
marcshilling committed Apr 5, 2023
1 parent 3b9cc5d commit bbe53cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A cross-platform bridge that allows you to enable and disable the screen idle ti

## Install

`npm install react-native-idle-timer@latest --save`
`yarn add react-native-idle-timer`

## Link

Expand Down
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare namespace RNIdleTimer {
function setIdleTimerDisabled(disabled: boolean, tag: string | undefined): void;
function setIdleTimerDisabled(disabled: boolean, tag?: string): void;
}
export = RNIdleTimer
export = RNIdleTimer;

0 comments on commit bbe53cb

Please sign in to comment.