mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
19 lines
365 B
TypeScript
19 lines
365 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<Array<R>>;
|
|
}
|
|
|
|
// From codersdk/genericmap.go
|
|
export type Custom = Foo | Buzz
|