* improve error message TS2307 * add updates missed from merge * update more missed baselines * remove incorrectly re-added test files Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
14 lines
581 B
Plaintext
14 lines
581 B
Plaintext
tests/cases/compiler/tsxNoTypeAnnotatedSFC.tsx(2,24): error TS2307: Cannot find module 'react' or its corresponding type declarations.
|
|
|
|
|
|
==== tests/cases/compiler/tsxNoTypeAnnotatedSFC.tsx (1 errors) ====
|
|
// not _actually_ making react available in this test to regression test #22948
|
|
import * as React from 'react';
|
|
~~~~~~~
|
|
!!! error TS2307: Cannot find module 'react' or its corresponding type declarations.
|
|
|
|
const Test123 = () => <div/>;
|
|
|
|
function testComponent(props) {
|
|
return <Test123 {...props}/>;
|
|
} |