mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
f9db4c30c5
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
33 lines
533 B
Plaintext
33 lines
533 B
Plaintext
//// [tests/cases/compiler/jsdocCallbackParamQualifiedName.ts] ////
|
|
|
|
=== bug.js ===
|
|
/**
|
|
* @callback cb
|
|
* @param x.y
|
|
*/
|
|
|
|
/**
|
|
* @callback cb2
|
|
* @param {object} x
|
|
* @param {string} x.y
|
|
*/
|
|
|
|
/**
|
|
* @overload
|
|
* @param {object} x
|
|
* @param {string} x.y
|
|
* @returns {string}
|
|
*/
|
|
/**
|
|
* @param {object} x
|
|
* @returns {string}
|
|
*/
|
|
function foo(x) {
|
|
>foo : Symbol(foo, Decl(bug.js, 12, 4), Decl(bug.js, 0, 0))
|
|
>x : Symbol(x, Decl(bug.js, 21, 13))
|
|
|
|
return x.y;
|
|
>x : Symbol(x, Decl(bug.js, 21, 13))
|
|
}
|
|
|