Files
tsgo/testdata/baselines/reference/submodule/compiler/checkJsFiles6.errors.txt
7599a10fbd Add missing TS6504 diagnostic for JavaScript files without allowJs (#2104)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
Co-authored-by: Copilot <[email protected]>
2025-12-03 22:14:09 +00:00

12 lines
611 B
Plaintext

error TS5052: Option 'checkJs' cannot be specified without specifying option 'allowJs'.
error TS6504: File 'a.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?
The file is in the program because:
Root file specified for compilation
!!! error TS5052: Option 'checkJs' cannot be specified without specifying option 'allowJs'.
!!! error TS6504: File 'a.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?
!!! error TS6504: The file is in the program because:
!!! error TS6504: Root file specified for compilation
==== a.js (0 errors) ====
var x;