mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
* chore: types generated handling readonly slices * add -update flag to update goldens * revert excess gens * fix: update most UI types to account for readonly modifiers * fix: remove accidental mutation from NavBarView * fix: remove mutation warning for BatchUpdateConfirmation stories * fix: remove mutation warning for BactchUpdateConfirmation * fix: format ActiveUserChart * fix: update import to make linter happy * fix: update fmt issue * fix: disable file write lint rule from unit test --------- Co-authored-by: Parkreiner <throwawayclover@gmail.com>
18 lines
360 B
TypeScript
18 lines
360 B
TypeScript
// From codersdk/genericmap.go
|
|
export interface Buzz {
|
|
readonly foo: Foo
|
|
readonly bazz: string
|
|
}
|
|
|
|
// From codersdk/genericmap.go
|
|
export interface Foo {
|
|
readonly bar: string
|
|
}
|
|
|
|
// From codersdk/genericmap.go
|
|
export interface FooBuzz<R extends Custom> {
|
|
readonly something: (readonly R[])
|
|
}
|
|
|
|
// From codersdk/genericmap.go
|
|
export type Custom = Foo | Buzz |