We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0412f49 commit abbebfbCopy full SHA for abbebfb
src/index.d.ts
@@ -1,12 +1,9 @@
1
-declare module "nativescript-insomnia" {
+/**
2
+ * Make the screen not dim (and eventually lock the device).
3
+ */
4
+export function keepAwake(): Promise<any>;
5
- /**
- * Make the screen not dim (and eventually lock the device).
- */
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
-}
+ * Be a good citizen and allow the device some sleep when you're done.
+export function allowSleepAgain(): Promise<any>;
0 commit comments