EITHER
interface ONE { one: number; i: string; } interface TWO { two: number; j: string; } type EITHER = ONE | TWO;
ONE
TWO
Join the Discord to ask follow-up questions and connect with the community
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934 Members