// @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: true, overwrite: string } = { y: true, overwrite: "hi" } interface Prop { x: 2 y: true overwrite: string } class OverWriteAttr extends React.Component { render() { return
Hello
; } } let anyobj: any; // OK let x = let x1 = let x2 = let x3 = let x4 = let x5 =