type: arg1;
foo: string;
bar: arg2;
}
I want to compose/create a new type from this generic type
Type2 = Type<'foo', 'bar'>
What's the correct syntax for this?
type Type2 = Type<'foo', 'bar'>;
Обсуждают сегодня