We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b444e6 commit 8128941Copy full SHA for 8128941
insomnia.d.ts
@@ -0,0 +1,12 @@
1
+declare module "nativescript-insomnia" {
2
+
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
+}
package.json
@@ -1,6 +1,6 @@
{
"name": "nativescript-insomnia",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Make the screen not dim (and eventually lock the device) while Insomnia is active",
"main": "insomnia.js",
"nativescript": {
0 commit comments