648bd6e9e0
* Skip more lib checks, improve test execution time a bit more * Change complexRecursiveCollections to still check * Remove way more
19 lines
331 B
TypeScript
19 lines
331 B
TypeScript
// @filename: file.tsx
|
|
// @jsx: preserve
|
|
// @noLib: true
|
|
// @skipLibCheck: true
|
|
// @libFiles: react.d.ts,lib.d.ts
|
|
|
|
import React = require('react');
|
|
|
|
class Poisoned extends React.Component<{}, {}> {
|
|
render() {
|
|
return <div>Hello</div>;
|
|
}
|
|
}
|
|
|
|
const obj = {};
|
|
|
|
// OK
|
|
let p = <Poisoned {...obj} />;
|
|
let y = <Poisoned />;
|