原文
Definitions are half as long, type errors are twice as readable, and hovers tell you just what really matters
// hover me
const User = type({
name: "string",
platform: "'android' | 'ios'",
"versions?": "number | string)[]"TypeScript: Unmatched ) before []
})