Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] committed Mar 1, 2024
1 parent 6cef899 commit 5ae992a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/reactivity/src/computed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class ComputedRefImpl<T = any> implements Subscriber {
/**
* @internal
*/
readonly dep = new Dep(this)
readonly dep = new Dep(this);
/**
* @internal
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/reactivity/src/ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
toReactive,
} from './reactive'
import type { ComputedRef } from './computed'
import { TrackOpTypes, TriggerOpTypes, ReactiveFlags } from './constants'
import { ReactiveFlags, TrackOpTypes, TriggerOpTypes } from './constants'
import { warn } from './warning'

declare const RefSymbol: unique symbol
Expand Down Expand Up @@ -102,7 +102,7 @@ function createRef(rawValue: unknown, shallow: boolean) {
class RefImpl<T = any> {
_value: T
private _rawValue: T

dep: Dep = new Dep()

public readonly [ReactiveFlags.IS_REF] = true
Expand Down

0 comments on commit 5ae992a

Please sign in to comment.