mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Update src/shared/globalState.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
parent
4b6def5f31
commit
80d1fae033
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ export type { SecretKey, GlobalStateKey, ConfigurationKey, ConfigurationValues }
|
|||
/**
|
||||
* For convenience we'd like the `RooCodeAPI` to define `SecretKey` and `GlobalStateKey`,
|
||||
* but since it is a type definition file we can't export constants without some
|
||||
* annoyances. In order to acheive proper type safety without using constants as
|
||||
* annoyances. In order to achieve proper type safety without using constants as
|
||||
* in the type definition we use this clever Check<>Exhaustiveness pattern.
|
||||
* If you extend the `SecretKey` or `GlobalStateKey` types, you will need to
|
||||
* update the `SECRET_KEYS` and `GLOBAL_STATE_KEYS` arrays to include the new
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue