File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ export interface WritableComputedRef<T> extends Ref<T> {
16
16
}
17
17
18
18
export type ComputedGetter < T > = ( ) => T
19
- export type ComputedGetterWithVModel < T > = ( ...args : any [ ] ) => T
19
+ export type ComputedGetterWithInstance < T > = ( ...args : any [ ] ) => T
20
20
export type ComputedSetter < T > = ( v : T ) => void
21
21
22
22
export interface WritableComputedOptions < T > {
23
23
get : ComputedGetter < T >
24
24
set : ComputedSetter < T >
25
25
}
26
26
27
- export interface WritableComputedOptionsWithVModel < T > {
28
- get : ComputedGetterWithVModel < T >
27
+ export interface WritableComputedOptionsWithInstance < T > {
28
+ get : ComputedGetterWithInstance < T >
29
29
set : ComputedSetter < T >
30
30
}
31
31
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ export {
38
38
ComputedRef ,
39
39
WritableComputedRef ,
40
40
WritableComputedOptions ,
41
- WritableComputedOptionsWithVModel ,
41
+ WritableComputedOptionsWithInstance ,
42
42
ComputedGetter ,
43
- ComputedGetterWithVModel ,
43
+ ComputedGetterWithInstance ,
44
44
ComputedSetter
45
45
} from './computed'
46
46
export { deferredComputed } from './deferredComputed'
Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ import {
46
46
} from './apiLifecycle'
47
47
import {
48
48
reactive ,
49
- ComputedGetterWithVModel ,
50
- WritableComputedOptionsWithVModel
49
+ ComputedGetterWithInstance ,
50
+ WritableComputedOptionsWithInstance
51
51
} from '@vue/reactivity'
52
52
import {
53
53
ComponentObjectPropsOptions ,
@@ -360,7 +360,7 @@ export type ComponentOptionsMixin = ComponentOptionsBase<
360
360
361
361
export type ComputedOptions = Record <
362
362
string ,
363
- ComputedGetterWithVModel < any > | WritableComputedOptionsWithVModel < any >
363
+ ComputedGetterWithInstance < any > | WritableComputedOptionsWithInstance < any >
364
364
>
365
365
366
366
export interface MethodOptions {
You can’t perform that action at this time.
0 commit comments