mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
54 lines
737 B
Plaintext
54 lines
737 B
Plaintext
//// [tests/cases/compiler/checkJsFiles_skipDiagnostics.ts] ////
|
|
|
|
=== a.js ===
|
|
var x = 0;
|
|
>x : Symbol(x, Decl(a.js, 0, 3))
|
|
|
|
|
|
/// @ts-ignore
|
|
x();
|
|
>x : Symbol(x, Decl(a.js, 0, 3))
|
|
|
|
/// @ts-ignore
|
|
x();
|
|
>x : Symbol(x, Decl(a.js, 0, 3))
|
|
|
|
/// @ts-ignore
|
|
x(
|
|
>x : Symbol(x, Decl(a.js, 0, 3))
|
|
|
|
2,
|
|
3);
|
|
|
|
|
|
|
|
// @ts-ignore
|
|
// come comment
|
|
// some other comment
|
|
|
|
// @another
|
|
|
|
x();
|
|
>x : Symbol(x, Decl(a.js, 0, 3))
|
|
|
|
/* @ts-ignore */
|
|
/*another comment
|
|
that could be multiline*/
|
|
|
|
x();
|
|
>x : Symbol(x, Decl(a.js, 0, 3))
|
|
|
|
/* @ts-ignore
|
|
continuing comment
|
|
that could be multiline*/
|
|
|
|
x();
|
|
>x : Symbol(x, Decl(a.js, 0, 3))
|
|
|
|
|
|
|
|
// @ts-ignore: no call signature
|
|
x();
|
|
>x : Symbol(x, Decl(a.js, 0, 3))
|
|
|