Skip to content

Commit ed57758

Browse files
author
Gabriela Britto
committed
Add missing baseline references
1 parent b3633fa commit ed57758

6 files changed

+82
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject2.js(2,20): error TS8032: Qualified name 'xyz.bar' is not allowed without a leading '@param {object} xyz'.
2+
3+
4+
==== tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject2.js (1 errors) ====
5+
/**
6+
* @param {object} xyz.bar
7+
~~~~~~~
8+
!!! error TS8032: Qualified name 'xyz.bar' is not allowed without a leading '@param {object} xyz'.
9+
* @param {number} xyz.bar.p
10+
*/
11+
function g(xyz) {
12+
return xyz.bar.p;
13+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
=== tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject2.js ===
2+
/**
3+
* @param {object} xyz.bar
4+
* @param {number} xyz.bar.p
5+
*/
6+
function g(xyz) {
7+
>g : Symbol(g, Decl(paramTagNestedWithoutTopLevelObject2.js, 0, 0))
8+
>xyz : Symbol(xyz, Decl(paramTagNestedWithoutTopLevelObject2.js, 4, 11))
9+
10+
return xyz.bar.p;
11+
>xyz : Symbol(xyz, Decl(paramTagNestedWithoutTopLevelObject2.js, 4, 11))
12+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
=== tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject2.js ===
2+
/**
3+
* @param {object} xyz.bar
4+
* @param {number} xyz.bar.p
5+
*/
6+
function g(xyz) {
7+
>g : (xyz: any) => any
8+
>xyz : any
9+
10+
return xyz.bar.p;
11+
>xyz.bar.p : any
12+
>xyz.bar : any
13+
>xyz : any
14+
>bar : any
15+
>p : any
16+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject3.js(3,20): error TS8032: Qualified name 'xyz.bar.p' is not allowed without a leading '@param {object} xyz.bar'.
2+
3+
4+
==== tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject3.js (1 errors) ====
5+
/**
6+
* @param {object} xyz
7+
* @param {number} xyz.bar.p
8+
~~~~~~~~~
9+
!!! error TS8032: Qualified name 'xyz.bar.p' is not allowed without a leading '@param {object} xyz.bar'.
10+
*/
11+
function g(xyz) {
12+
return xyz.bar.p;
13+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
=== tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject3.js ===
2+
/**
3+
* @param {object} xyz
4+
* @param {number} xyz.bar.p
5+
*/
6+
function g(xyz) {
7+
>g : Symbol(g, Decl(paramTagNestedWithoutTopLevelObject3.js, 0, 0))
8+
>xyz : Symbol(xyz, Decl(paramTagNestedWithoutTopLevelObject3.js, 4, 11))
9+
10+
return xyz.bar.p;
11+
>xyz : Symbol(xyz, Decl(paramTagNestedWithoutTopLevelObject3.js, 4, 11))
12+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
=== tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject3.js ===
2+
/**
3+
* @param {object} xyz
4+
* @param {number} xyz.bar.p
5+
*/
6+
function g(xyz) {
7+
>g : (xyz: any) => any
8+
>xyz : any
9+
10+
return xyz.bar.p;
11+
>xyz.bar.p : any
12+
>xyz.bar : any
13+
>xyz : any
14+
>bar : any
15+
>p : any
16+
}

0 commit comments

Comments
 (0)