TypeScript adds a typeof operator you can use in a type context to refer to the type of a variable or property: ts. let s = "hello";. let n : typeof s ;.
確定! 回上一頁