* Retrieves a value from the context state. * * @param key - The key of the value to retrieve. * @returns The value associated with the key, or undefined if the key is not found.
(key: string)
| 164 | * @returns The value associated with the key, or undefined if the key is not found. |
| 165 | */ |
| 166 | get(key: string): unknown { |
| 167 | return this.state[key]; |
| 168 | } |
| 169 | |
| 170 | /** |
| 171 | * Sets a value in the context state. |
no outgoing calls
no test coverage detected