* Overwrites existing store data with new values * * @param values - New values to replace existing data * * @example * store.update({ username: 'jane', theme: 'light' })
(values: { [key: string]: any })
| 247 | * store.update({ username: 'jane', theme: 'light' }) |
| 248 | */ |
| 249 | update(values: { [key: string]: any }): void { |
| 250 | this.#modified = true |
| 251 | this.values = values |
| 252 | } |
| 253 | |
| 254 | /** |
| 255 | * Merges values with existing store data |
no outgoing calls
no test coverage detected