We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lastModified
Instant
1 parent 0e044f7 commit 32fa296Copy full SHA for 32fa296
src/Web/File/File.purs
@@ -2,6 +2,7 @@ module Web.File.File where
2
3
import Prelude
4
5
+import Data.DateTime.Instant (Instant)
6
import Data.Maybe (Maybe)
7
import Data.MediaType (MediaType)
8
import Unsafe.Coerce (unsafeCoerce)
@@ -14,7 +15,7 @@ toBlob = unsafeCoerce
14
15
16
foreign import name :: File -> String
17
-foreign import lastModified :: File -> Number
18
+foreign import lastModified :: File -> Instant
19
20
-- | (Inherited from `Blob`) `MediaType` of the data contained in the `Blob`.
21
-- | Returns `Nothing` if the `MediaType` is unknown.
0 commit comments