// @filename: file.tsx // @jsx: preserve // @noLib: true // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts import React = require('react'); interface Prop { x: true; } class Poisoned extends React.Component { render() { return
Hello
; } } // OK let p = ;