// @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(k: {yxx: string}): JSX.Element; declare function OneThing(k: {yxx1: string, children: string}): JSX.Element; declare function OneThing(l: {yy: number, yy1: string}): JSX.Element; declare function OneThing(l: {yy: number, yy1: string, yy2: boolean}): JSX.Element; declare function OneThing(l1: {data: string, "data-prop": boolean}): JSX.Element; // OK const c1 = const c2 = const c3 = const c4 = const c5 = Hello declare function TestingOneThing({y1: string}): JSX.Element; declare function TestingOneThing(j: {"extra-data": string, yy?: string}): JSX.Element; declare function TestingOneThing(n: {yy: number, direction?: number}): JSX.Element; declare function TestingOneThing(n: {yy: string, name: string}): JSX.Element; // OK const d1 = ; const d2 = ; const d3 = ; const d4 = ; const d5 = ; declare function TestingOptional(a: {y1?: string, y2?: number}): JSX.Element; declare function TestingOptional(a: {y1: boolean, y2?: number, y3: boolean}): JSX.Element; // OK const e1 = const e3 = const e4 = const e5 = const e6 = const e2 =