Skip to content

Commit a3d4884

Browse files
committed
Add public Declarations type alias.
1 parent 79aaaf7 commit a3d4884

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Tecton.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module Tecton (module T) where
33
import Tecton.Internal
44
( CSS
55
, CustomAttribute
6+
, Declarations
67
, KeyframesName
78
, a
89
, abbr

src/Tecton/Internal.purs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ module Tecton.Internal
161161
, Configuration
162162
, CustomAttribute
163163
, Declaration'
164+
, Declarations
164165
, Divide
165166
, EasingFunction
166167
, Extensible
@@ -1192,6 +1193,8 @@ infixr 0 mkStatement as ?
11921193

11931194
-- Declarations
11941195

1196+
type Declarations ps = Writer (List Declaration') ps
1197+
11951198
newtype Declaration' = Declaration' (Val /\ Val)
11961199

11971200
newtype FontFaceDeclaration' = FontFaceDeclaration' (Val /\ Val)

0 commit comments

Comments
 (0)