mirror of
https://github.com/ilyakooo0/elm-bridge.git
synced 2024-09-11 14:05:55 +03:00
Extra mutation for UTCTime
This commit is contained in:
parent
1d345967f9
commit
e2b717e316
@ -124,6 +124,7 @@ defaultTypeAlterations t = case t of
|
||||
ETyCon (ETCon "Text") -> ETyCon (ETCon "String")
|
||||
ETyCon (ETCon "Vector") -> ETyCon (ETCon "List")
|
||||
ETyCon (ETCon "Double") -> ETyCon (ETCon "Float")
|
||||
ETyCon (ETCon "UTCTime") -> ETyCon (ETCon "Posix")
|
||||
_ -> t
|
||||
where
|
||||
isString (ETyCon (ETCon "String")) = True
|
||||
|
Loading…
Reference in New Issue
Block a user