mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
Fix type annotation in scaffold generator.
This commit is contained in:
parent
5179b569fb
commit
5289639248
@ -205,25 +205,25 @@ formWithFields fields =
|
||||
)
|
||||
]
|
||||
)
|
||||
--form : Form.DoneForm String ParsedForm () (List (Html.Styled.Html (Pages.Msg.Msg Msg)))
|
||||
|> Elm.withType
|
||||
(Elm.Annotation.namedWith [ "Form" ]
|
||||
"DoneForm"
|
||||
[ Elm.Annotation.string
|
||||
, Elm.Annotation.unit
|
||||
, Elm.Annotation.list
|
||||
(Elm.Annotation.namedWith [ "Html", "Styled" ]
|
||||
"Html"
|
||||
[ Elm.Annotation.namedWith
|
||||
[ "Pages", "Msg" ]
|
||||
"Msg"
|
||||
[ Elm.Annotation.named [] "Msg" ]
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
)
|
||||
)
|
||||
|> Elm.withType
|
||||
(Elm.Annotation.namedWith [ "Form" ]
|
||||
"DoneForm"
|
||||
[ Elm.Annotation.string
|
||||
, Elm.Annotation.named [] "ParsedForm"
|
||||
, Elm.Annotation.unit
|
||||
, Elm.Annotation.list
|
||||
(Elm.Annotation.namedWith [ "Html", "Styled" ]
|
||||
"Html"
|
||||
[ Elm.Annotation.namedWith
|
||||
[ "Pages", "Msg" ]
|
||||
"Msg"
|
||||
[ Elm.Annotation.named [] "Msg" ]
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user