//@filename: file.tsx //@jsx: preserve //@noImplicitAny: true declare module JSX { interface Element { } interface ElementAttributesProperty { props: {} } interface IntrinsicElements { div: any; h2: any; h1: any; } } class Button { props: {} render() { return (
My Button
) } } // OK let k1 =

Hello

world

; let k2 =

Hello

{(user: any) =>

{user.name}

}
; let k3 =
{1} {"That is a number"}
; let k4 = ;