Skip to main content

Function: renameDevtoolsName()

renameDevtoolsName<State>(store, newName): void

Defined in: lib/devtools/rename-devtools-name.ts:9

Renames the name of a store how it appears in the Devtools.

Type Parameters​

State​

State extends object

Parameters​

store​

StateSource<State>

instance of the SignalStore

newName​

string

new name for the Devtools

Returns​

void