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