// Hovering any identifier reveals its inferred type.
const const greeting: "Hello, Twoslash"greeting = "Hello, Twoslash"
function function twice(n: number): numbertwice((parameter) n: numbern: number) {
return (parameter) n: numbern * 2
}
const const doubled: numberdoubled = function twice(n: number): numbertwice(const greeting: "Hello, Twoslash"greeting.(property) String.length: numberReturns the length of a String object.
length)