mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
11 lines
194 B
TypeScript
11 lines
194 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
|
|
// @fileName: a.js
|
|
|
|
// there should be a "Unused @ts-expect-error" error since js files are being checked
|
|
|
|
// @ts-expect-error
|
|
const a = 1;
|