Is there a way in typescript to do the following:
type Foo = {
code?: string;
name: string;
bar: number;
}
let bar: Tuple<Foo>; // a: [string | undefined, string, number]
Is there a way in typescript to do the following:
type Foo = {
code?: string;
name: string;
bar: number;
}
let bar: Tuple<Foo>; // a: [string | undefined, string, number]