mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
Fix types in scaffolding.
This commit is contained in:
parent
e18d8c0fe7
commit
5d730e588c
@ -305,11 +305,10 @@ createFile moduleName fields =
|
||||
Elm.Annotation.float
|
||||
|
||||
FieldTime ->
|
||||
Elm.Annotation.named [ "Time" ] "Posix"
|
||||
Elm.Annotation.named [ "Form", "Field" ] "TimeOfDay"
|
||||
|
||||
FieldDate ->
|
||||
-- TODO fix type for DateTime
|
||||
Elm.Annotation.string
|
||||
Elm.Annotation.named [ "Date" ] "Date"
|
||||
|
||||
FieldBool ->
|
||||
Elm.Annotation.bool
|
||||
|
Loading…
Reference in New Issue
Block a user