diff --git a/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.errors.txt b/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.errors.txt index 7cfe6e03670..8ee7b3ba989 100644 --- a/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.errors.txt +++ b/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.errors.txt @@ -8,5 +8,5 @@ tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject.js(2,20): erro !!! error TS8032: Qualified name 'xyz.p' is not allowed without a leading '@param {object} xyz'. */ function g(xyz) { - xyz.x; + return xyz.p; } \ No newline at end of file diff --git a/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.symbols b/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.symbols index 63e7e4980b8..d8a28a638ff 100644 --- a/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.symbols +++ b/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.symbols @@ -6,6 +6,6 @@ function g(xyz) { >g : Symbol(g, Decl(paramTagNestedWithoutTopLevelObject.js, 0, 0)) >xyz : Symbol(xyz, Decl(paramTagNestedWithoutTopLevelObject.js, 3, 11)) - xyz.x; + return xyz.p; >xyz : Symbol(xyz, Decl(paramTagNestedWithoutTopLevelObject.js, 3, 11)) } diff --git a/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.types b/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.types index d65efd8678a..cc339b84b30 100644 --- a/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.types +++ b/tests/baselines/reference/paramTagNestedWithoutTopLevelObject.types @@ -3,11 +3,11 @@ * @param {number} xyz.p */ function g(xyz) { ->g : (xyz: any) => void +>g : (xyz: any) => any >xyz : any - xyz.x; ->xyz.x : any + return xyz.p; +>xyz.p : any >xyz : any ->x : any +>p : any } diff --git a/tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject.ts b/tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject.ts index 2285ae623ff..03c79ce9e1c 100644 --- a/tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject.ts +++ b/tests/cases/conformance/jsdoc/paramTagNestedWithoutTopLevelObject.ts @@ -7,5 +7,5 @@ * @param {number} xyz.p */ function g(xyz) { - xyz.x; + return xyz.p; } \ No newline at end of file