// @filename: file.tsx
// @jsx: preserve
// @module: amd
// @noLib: true
// @skipLibCheck: true
// @libFiles: react.d.ts,lib.d.ts
import React = require('react')
declare function OneThing(): JSX.Element;
declare function OneThing(l: {yy: number, yy1: string}): JSX.Element;
let obj = {
yy: 10,
yy1: "hello"
}
let obj1 = {
yy: true
}
let obj2 = {
yy: 500,
"ignore-prop": "hello"
}
let defaultObj: any;
// OK
const c1 =
const c2 =
const c3 =
const c4 =
const c5 =
const c6 =
const c7 = ; // No error. should pick second overload
const c8 =
const c9 = ;
const c10 = ;