// @filename: file.tsx // @jsx: preserve // @noLib: true // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts import React = require('react'); interface PoisonedProp { x: string; y: number; } class Poisoned extends React.Component { render() { return
Hello
; } } const obj = { x: "hello world", y: 2 }; // OK let p = ; let y = ;