We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
never
{}
1 parent 2078f8b commit 8620a61Copy full SHA for 8620a61
packages/runtime-dom/src/index.ts
@@ -38,8 +38,7 @@ import type { VModelDirective } from './directives/vModel'
38
*
39
* To enable proper types, add `"dom"` to `"lib"` in your `tsconfig.json`.
40
*/
41
-type DomStub = {}
42
-type DomType<T> = typeof globalThis extends { window: unknown } ? T : DomStub
+type DomType<T> = typeof globalThis extends { window: unknown } ? T : never
43
44
declare module '@vue/reactivity' {
45
export interface RefUnwrapBailTypes {
0 commit comments