在TypeScript 中, typeof 操作符可以用来获取一个变量或对象的类型。 interface Person { name: string; age: number; } const sem: Person ...
確定! 回上一頁