* Get the current value for a key enriched with virtual properties.
(
key: TKey,
)
| 336 | * Get the current value for a key enriched with virtual properties. |
| 337 | */ |
| 338 | public getWithVirtualProps( |
| 339 | key: TKey, |
| 340 | ): WithVirtualProps<TOutput, TKey> | undefined { |
| 341 | const value = this.get(key) |
| 342 | if (value === undefined) { |
| 343 | return undefined |
| 344 | } |
| 345 | return this.enrichWithVirtualProps(value, key) |
| 346 | } |
| 347 | |
| 348 | /** |
| 349 | * Get the current value for a key (virtual derived state) |
no test coverage detected