TypeScript/tests/baselines/reference/jsxFactoryQualifiedNameResolutionError.errors.txt
Nathan Shively-Sanders a734b84ed0 Always suggest spelling corrections
Even for types. Based on #42126, but without the namespace-specific
error message.
2021-09-30 11:03:07 -07:00

18 lines
566 B
Plaintext

tests/cases/compiler/test.tsx(9,17): error TS2552: Cannot find name 'MyElement'. Did you mean 'Element'?
==== tests/cases/compiler/test.tsx (1 errors) ====
declare module JSX {
interface IntrinsicElements {
[s: string]: any;
}
}
export class AppComponent {
render(createElement) {
return <div />;
~~~
!!! error TS2552: Cannot find name 'MyElement'. Did you mean 'Element'?
!!! related TS2728 /.ts/lib.dom.d.ts:4792:13: 'Element' is declared here.
}
}