// @filename: file.tsx // @jsx: preserve // @noLib: true // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts import React = require('react'); const Tag = (x: {}) =>
; // OK const k1 = ; const k2 = ; // Not OK (excess children) const k3 = } />; const k4 =
; const k5 =
;