mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
077e594856
switch to guts for typescript type generation omitempty vs null must now be explicit
21 lines
415 B
TypeScript
21 lines
415 B
TypeScript
// Code generated by 'guts'. DO NOT EDIT.
|
|
|
|
// From codersdk/genericmap.go
|
|
export interface Buzz {
|
|
readonly foo: Foo;
|
|
readonly bazz: string;
|
|
}
|
|
|
|
// From codersdk/genericmap.go
|
|
export type Custom = Foo | Buzz;
|
|
|
|
// From codersdk/genericmap.go
|
|
export interface Foo {
|
|
readonly bar: string;
|
|
}
|
|
|
|
// From codersdk/genericmap.go
|
|
export interface FooBuzz<R extends Custom> {
|
|
readonly something: readonly R[];
|
|
}
|