( source: Record<PropertyKey, any>, key: string | number | symbol, defaultValue?: unknown, )
| 517 | } |
| 518 | |
| 519 | function propertyToRef( |
| 520 | source: Record<PropertyKey, any>, |
| 521 | key: string | number | symbol, |
| 522 | defaultValue?: unknown, |
| 523 | ) { |
| 524 | return new ObjectRefImpl(source, key, defaultValue) as any |
| 525 | } |
| 526 | |
| 527 | /** |
| 528 | * This is a special exported interface for other packages to declare |