TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_notSupported2.ts

10 lines
220 B
TypeScript

// @noImplicitReferences: true
// @allowJs: true
// @traceResolution: true
// Test the error message if we have `--allowJs` but not `--jsx`.
// @Filename: /jsx.jsx
// @Filename: /a.ts
import jsx from "./jsx";