forked from joule-labs/joule-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Object.assign to prevent TypeScript error
The use of the spread opertor causes issues in TypeScript 3.9.x To avoid this issue we use Object.assign to return on object with default values. TypeScript error: error TS2783: '<XYZ>' is specified more than once, so this usage will be overwritten. See Travis build with errors: https://travis-ci.org/github/joule-labs/joule-extension/builds/713053315 Related TypeScript issues: microsoft/TypeScript#39671 microsoft/TypeScript#38535
- Loading branch information
Showing
1 changed file
with
79 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters