Skip to content

Commit 52e01d8

Browse files
authored
type: Added Element type to ref BailTypes (vuejs#278)
1 parent 817d4d1 commit 52e01d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactivity/ref.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { proxy, isPlainObject } from '../utils';
44
import { HasDefined } from '../types/basic';
55
import { reactive } from './reactive';
66

7-
type BailTypes = Function | Map<any, any> | Set<any> | WeakMap<any, any> | WeakSet<any>;
7+
type BailTypes = Function | Map<any, any> | Set<any> | WeakMap<any, any> | WeakSet<any> | Element;
88

99
// corner case when use narrows type
1010
// Ex. type RelativePath = string & { __brand: unknown }

0 commit comments

Comments
 (0)