TypeScript/tests/cases/compiler/moduleResolutionWithExtensions_notSupported3.ts
Andy 0ae42ea3de Allow relative imports of '.js' files when --noImplicitAny is disabled (#18489)
* Allow relative imports of '.js' files when `--noImplicitAny` is disabled

* Update baselines, and don't ignore a diagnostic about missing JSX
2017-09-19 12:42:29 -07:00

10 lines
230 B
TypeScript

// @noImplicitReferences: true
// @jsx: preserve
// @traceResolution: true
// If we have "--jsx" set and not "--allowJs", it's an implicit-any module.
// @Filename: /jsx.jsx
// @Filename: /a.ts
import jsx from "./jsx";