mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
18 lines
356 B
TypeScript
18 lines
356 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 |