Skip to content

Commit ea9aa03

Browse files
Since 1.2.2 we can do this in TS
1 parent b045022 commit ea9aa03

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ var insomnia = require("nativescript-insomnia");
2222
### TypeScript
2323
You could do the same as in JS, but this looks fancier, right?
2424

25-
```typescript
26-
const { keepAwake, allowSleepAgain } = require("nativescript-insomnia");
27-
```
28-
29-
### Angular
30-
You could do the same as in JS, but this looks fancier, right?
31-
3225
```typescript
3326
import { keepAwake, allowSleepAgain } from "nativescript-insomnia";
3427
```

0 commit comments

Comments
 (0)