// @filename: file.tsx // @jsx: preserve // @noLib: true // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts import React = require('react'); interface Prop { a: number, b: string, children: string | JSX.Element } function Comp(p: Prop) { return
{p.b}
; } // OK let k = ; let k1 = hi hi hi! ; let k2 =
hi hi hi!
;