I added an external component module that does not include @type. I modified a sample to like this.
https://www.npmjs.com/package/react-sticky-table
const StickyTable = require("react-sticky-table");
const Row = require("react-sticky-table");
const Cell = require("react-sticky-table");
export const BasicExample = () => {
return (
<React.Fragment>
<Paper>
<div style={{ width: "100%", height: "400px" }}>
<StickyTable>
<Row>
<Cell>Header 1</Cell>
<Cell>Header 2</Cell>
</Row>
<Row>
<Cell>Cell 1</Cell>
<Cell>Cell 2</Cell>
</Row>
</StickyTable>
</div>
</Paper>
</React.Fragment>
);
};
but any type is not be recognised "JFX.element" What should I do ?