Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 858b0a6

Browse files
committed
Add File API types
1 parent 60c2b40 commit 858b0a6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/DOM/File.purs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
-- | Types for the [W3C File API](http://dev.w3.org/2006/webapi/FileAPI/).
2+
module DOM.File where
3+
4+
-- | A `File` object instance.
5+
foreign import data File :: *
6+
7+
-- | A `FileList` object instance.
8+
foreign import data FileList :: *
9+
10+
-- | A `FileReader` object instance.
11+
foreign import data FileReader :: *
12+
13+
-- | A `Blob` object instance.
14+
foreign import data Blob :: *

0 commit comments

Comments
 (0)