@@ -78,6 +78,8 @@ declToJs _ mp (DataDeclaration _ _ ctors) _ =
7878 (JSObjectLiteral [ ("ctor", JSStringLiteral (show (Qualified (Just mp) pn)))
7979 , ("value", JSVar (Ident "value")) ])])
8080 in [ ctorJs, setProperty ctor (JSVar (Ident ctor)) mp ]
81+declToJs opts mp (DataBindingGroupDeclaration ds) e =
82+ Just $ concat $ mapMaybe (flip (declToJs opts mp) e) ds
8183declToJs _ mp (ExternDeclaration importTy ident (Just js) _) _ | importTy /= ForeignImport =
8284 Just [ js
8385 , setProperty (identToJs ident) (JSVar ident) mp ]