Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzhang1030 committed Feb 12, 2025
1 parent 34f4ffd commit 9a93c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/devtools-kit/src/core/component/state/custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ export function getHTMLElementDetails(value: HTMLElement) {
}

/**
* - ObjectRefImpl, toRef({ foo: 'foo' }, 'foo'), `value` is the actual value
* - GetterRefImpl, toRef(() => state.foo), `value` is the actual value
* - ObjectRefImpl, toRef({ foo: 'foo' }, 'foo'), `_value` is the actual value, (since 3.5.0)
* - GetterRefImpl, toRef(() => state.foo), `_value` is the actual value, (since 3.5.0)
* - RefImpl, ref('foo') / computed(() => 'foo'), `_value` is the actual value
*/
function tryGetRefValue(ref: { _value?: unknown } | { value?: unknown }) {
Expand Down

0 comments on commit 9a93c9b

Please sign in to comment.