TypeScript lets you create a union type that is a composite of selected types separated by a vertical bar, | . let myBoolean: string | boolean;
確定! 回上一頁