To specify optional properties in TypeScript interfaces and classes, we can use the question mark (?) symbol after the property name. Syntax:
確定! 回上一頁