packages feed

elm-export-0.5.0.0: test/TypesSpec.hs

{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}

module TypesSpec where

import Elm
import GHC.Generics
import           Test.Hspec   as Hspec

-- All the types in this file should be Elm-encodable.
data Person = Person
    { personName :: String
    } deriving (Generic, ElmType)

spec :: Hspec.Spec
spec = return ()