Skip to content

Commit

Permalink
Since 1.2.2 we can do this in TS
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Aug 5, 2018
1 parent b045022 commit ea9aa03
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions README.md
Expand Up @@ -22,13 +22,6 @@ var insomnia = require("nativescript-insomnia");
### TypeScript
You could do the same as in JS, but this looks fancier, right?

```typescript
const { keepAwake, allowSleepAgain } = require("nativescript-insomnia");
```

### Angular
You could do the same as in JS, but this looks fancier, right?

```typescript
import { keepAwake, allowSleepAgain } from "nativescript-insomnia";
```
Expand Down

0 comments on commit ea9aa03

Please sign in to comment.