From 1e012a00018715482480d749e03cebfe96d2dff4 Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Tue, 6 Sep 2022 13:40:02 -0600 Subject: [PATCH] Avoid type aliasing configurables --- src/Nri/Ui/Highlighter/V1.elm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Nri/Ui/Highlighter/V1.elm b/src/Nri/Ui/Highlighter/V1.elm index c9a65db1..49671eaa 100644 --- a/src/Nri/Ui/Highlighter/V1.elm +++ b/src/Nri/Ui/Highlighter/V1.elm @@ -114,19 +114,15 @@ type Initialized | NotInitialized -{-| Config is used by init to setup an initial Model +{-| Setup initial model -} -type alias Config marker = +init : { id : String , highlightables : List (Highlightable marker) , marker : Tool.Tool marker , onClickAction : OnClickAction } - - -{-| Setup initial model --} -init : Config marker -> Model marker + -> Model marker init config = { id = config.id , highlightables = config.highlightables