servant-js: export CommonGeneratorOptions constructors
Allow defCommonGeneratorOptions to be customized using record update syntax. Without the re-export, we can't do: ``` import qualified Servant.JS as SJS myOptions = SJS.defCommonGeneratorOptions { SJS.moduleName = "myModule" , SJS.urlPrefix = "http://localhost" } ```
This commit is contained in:
parent
6c50beb0f8
commit
f2a91cfb1f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ module Servant.JS
|
||||||
, JavaScriptGenerator
|
, JavaScriptGenerator
|
||||||
|
|
||||||
, -- * Options common to all generators
|
, -- * Options common to all generators
|
||||||
CommonGeneratorOptions
|
CommonGeneratorOptions(..)
|
||||||
, defCommonGeneratorOptions
|
, defCommonGeneratorOptions
|
||||||
|
|
||||||
, -- * Function renamers
|
, -- * Function renamers
|
||||||
|
|
Loading…
Reference in a new issue