// @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: "2"; } class Poisoned extends React.Component { render() { return
Hello
; } } const obj = {}; // OK ; // Error let p = ; let y = ; let z = ; let w = ; let w1 = ;