File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ export const enum ReactiveFlags {
21
21
RAW = '__v_raw'
22
22
}
23
23
24
- declare const ReadonlyRawType : unique symbol
24
+ declare const ReadonlyRawSymbol : unique symbol
25
25
26
26
interface ReadonlyRaw < T > {
27
27
/**
28
28
* Original type used to hold readonly function parameters
29
29
*/
30
- [ ReadonlyRawType ] : T
30
+ [ ReadonlyRawSymbol ] : T
31
31
}
32
32
33
33
export interface Target {
@@ -375,7 +375,7 @@ export function isProxy(value: unknown): boolean {
375
375
*/
376
376
export function toRaw < T extends ReadonlyRaw < any > > (
377
377
observed : T
378
- ) : T [ typeof ReadonlyRawType ]
378
+ ) : T [ typeof ReadonlyRawSymbol ]
379
379
export function toRaw < T > ( observed : T ) : T
380
380
export function toRaw < T > ( observed : T ) : T {
381
381
const raw = observed && ( observed as Target ) [ ReactiveFlags . RAW ]
You can’t perform that action at this time.
0 commit comments