Skip to content

Commit abbebfb

Browse files
committed
fix: typings fix
1 parent 0412f49 commit abbebfb

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

src/index.d.ts

+8-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
declare module "nativescript-insomnia" {
1+
/**
2+
* Make the screen not dim (and eventually lock the device).
3+
*/
4+
export function keepAwake(): Promise<any>;
25

3-
/**
4-
* Make the screen not dim (and eventually lock the device).
5-
*/
6-
export function keepAwake(): Promise<any>;
7-
8-
/**
9-
* Be a good citizen and allow the device some sleep when you're done.
10-
*/
11-
export function allowSleepAgain(): Promise<any>;
12-
}
6+
/**
7+
* Be a good citizen and allow the device some sleep when you're done.
8+
*/
9+
export function allowSleepAgain(): Promise<any>;

0 commit comments

Comments
 (0)