Skip to content

Commit efaadfb

Browse files
kedrzupikax
authored andcommitted
type: Added Element type to ref BailTypes (vuejs#278)
1 parent 7120ad2 commit efaadfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactivity/ref.ts

Lines changed: 1 addition & 1 deletion
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)