fix types

This commit is contained in:
Marc Shilling 2023-04-05 11:19:23 -04:00
parent 3b9cc5d076
commit bbe53cb2e1
2 changed files with 3 additions and 3 deletions

View File

@ -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

4
index.d.ts vendored
View File

@ -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;