Replies: 1 comment
-
|
I think this can be fixed with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Like in #4135 with the latest update of happy-dom the environmentSettings are not in sync.
Take a look here: https://github.com/capricorn86/happy-dom/blob/master/packages/happy-dom/src/browser/types/IOptionalBrowserSettings.ts
I was wondering why isnt the interface from happy-dom used instead of the manually created https://github.com/vitest-dev/vitest/blob/main/packages/vitest/src/types/happy-dom-options.ts
Looking at this repo, happy-dom is not a peer dependency, so i was wondering if this problem could be fixed by having a dedicated package only for the types following https://github.com/DefinitelyTyped/DefinitelyTyped
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions