// @filename: file.tsx // @jsx: preserve // @noLib: true // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts import React = require('react'); const obj = {}; const obj1: {x: 2} = { x: 2 } const obj3: {y: false, overwrite: string} = { y: false, overwrite: "hi" } interface Prop { x: 2 y: false overwrite: string } class OverWriteAttr extends React.Component { render() { return
Hello
; } } let anyobj: any; // Error let x = let x1 = let x2 = let x3 =