fix types
This commit is contained in:
parent
3b9cc5d076
commit
bbe53cb2e1
@ -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
4
index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user