Skip to content

Commit

Permalink
Add TypeScript libdef (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
saadq authored and tsapeta committed Apr 25, 2019
1 parent e39df65 commit fadd59f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.d.ts
@@ -0,0 +1,11 @@
import { Asset } from 'expo-asset'
import Constants from 'expo-constants'
import * as FileSystem from 'expo-file-system'
import * as Permissions from 'expo-permissions'

export {
Asset,
Constants,
FileSystem,
Permissions
}
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"version": "0.3.0",
"description": "",
"main": "index.js",
"types": "index.d.ts",
"private": false,
"scripts": {
"postinstall": "node ./scripts/postinstall.js",
Expand Down

2 comments on commit fadd59f

@mcmar
Copy link

@mcmar mcmar commented on fadd59f Apr 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tsapeta Is it possible to release a new version with this?

@tsapeta
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcmar yeah, I'll do that later today 😉

Please sign in to comment.