TypeScript/tests/cases/conformance/jsx/tsxSfcReturnNull.tsx
Wesley Wigham 25c3b99f29 Add skip lib check to many tests (#18935)
* Add skip lib check to many tests, do not include unit test duration in profiler duration

* Add a few more skipLibCheck flags

* A few more

* Add more skip lib check flags
2017-10-04 13:14:05 -07:00

17 lines
311 B
TypeScript

// @filename: file.tsx
// @jsx: preserve
// @module: amd
// @noLib: true
// @skipLibCheck: true
// @libFiles: react.d.ts,lib.d.ts
import React = require('react');
const Foo = (props: any) => null;
function Greet(x: {name?: string}) {
return null;
}
const foo = <Foo />;
const G = <Greet />;