unional / domture

Create jsdom environment to load NodeJS modules
MIT License
2 stars 0 forks source link

fix: adjust defaultConfig type to WebpackDomtureConfig #45

Closed unional closed 6 years ago

unional commented 6 years ago

Casting it to DomtureConfig causes config merging error when using spread operator.

// error, moduleFileExtensions not in WebpackDomtureConfig const c: WebpackDomtureConfig = { ...defaultConfig, ... }

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 95.686% when pulling 2809d3dd51394fd2fad1b71e6dd8d74e6d1d580e on default-config-type into a2f76d795dd4daa47de4ad40f5aa3be44e6b1cd4 on master.