File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ tests/cases/conformance/jsdoc/foo.js(2,15): error TS1005: '}' expected.
2+ tests/cases/conformance/jsdoc/foo.js(3,19): error TS1005: '}' expected.
3+ tests/cases/conformance/jsdoc/foo.js(4,18): error TS1003: Identifier expected.
4+ tests/cases/conformance/jsdoc/foo.js(4,19): error TS1005: '}' expected.
5+
6+
7+ ==== tests/cases/conformance/jsdoc/foo.js (4 errors) ====
8+ /**
9+ * @param {(x)=>void} x
10+ ~~
11+ !!! error TS1005: '}' expected.
12+ * @param {typeof String} y
13+ ~~~~~~
14+ !!! error TS1005: '}' expected.
15+ * @param {string & number} z
16+
17+ !!! error TS1003: Identifier expected.
18+ ~
19+ !!! error TS1005: '}' expected.
20+ **/
21+ function foo(x, y, z) { }
22+
23+ ==== tests/cases/conformance/jsdoc/skipped.js (0 errors) ====
24+ // @ts-nocheck
25+ /**
26+ * @param {(x)=>void} x
27+ * @param {typeof String} y
28+ * @param {string & number} z
29+ **/
30+ function bar(x, y, z) { }
31+
Original file line number Diff line number Diff line change 1+ // @checkJs : true
2+ // @allowJs : true
3+ // @noEmit : true
4+
5+ // @Filename : foo.js
6+ /**
7+ * @param {(x)=>void } x
8+ * @param {typeof String } y
9+ * @param {string & number } z
10+ **/
11+ function foo ( x , y , z ) { }
12+
13+ // @Filename : skipped.js
14+ // @ts -nocheck
15+ /**
16+ * @param {(x)=>void } x
17+ * @param {typeof String } y
18+ * @param {string & number } z
19+ **/
20+ function bar ( x , y , z ) { }
You can’t perform that action at this time.
0 commit comments