We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go to definition
jsdoc
jsdoc typecast, typecast property access, jsdoc go to definition
https://www.typescriptlang.org/play/?ts=5.6.3&filetype=js#code/PQKhAIAEBcE8AcCmATRAzcBvT4B2BDAW0QC5wBnaAJwEtcBzcAXyfADEB7D8EYAKD4BjDrkrgOAIwBW4ALzhQEGAkRZOHVrwAUmJgEoA3H2DBwACQ4A3RFXAB3GtAAW4AAaDqAG1fjrt1+o+EoieHHbgyByI5LgA5NDgVIjC9Lg0AF6qzlkqEeh0jjQiQiJiklIAjHIKYFBwSGpcmsA6+gB0BMRGwqIJ5QBM1Yp1uZjqza16ANqxnYixALpGfEA
/** @typedef {{ name: string }} Foo */ const obj = /** @type {Foo} */({}); // Hover with `ctrl` over `Foo` below doesn't recognize the type definition const obj1 = /** @type {Foo} */({}).name; const obj2 = /** @type {Foo} */({})['name'];
Hovering over Foo with ctrl pressed doesn't recognize the type definition
Foo
ctrl
Hovering over Foo with ctrl pressed recognizes the type definition
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
π Search Terms
jsdoc typecast, typecast property access, jsdoc go to definition
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/play/?ts=5.6.3&filetype=js#code/PQKhAIAEBcE8AcCmATRAzcBvT4B2BDAW0QC5wBnaAJwEtcBzcAXyfADEB7D8EYAKD4BjDrkrgOAIwBW4ALzhQEGAkRZOHVrwAUmJgEoA3H2DBwACQ4A3RFXAB3GtAAW4AAaDqAG1fjrt1+o+EoieHHbgyByI5LgA5NDgVIjC9Lg0AF6qzlkqEeh0jjQiQiJiklIAjHIKYFBwSGpcmsA6+gB0BMRGwqIJ5QBM1Yp1uZjqza16ANqxnYixALpGfEA
π» Code
π Actual behavior
Hovering over
Foo
withctrl
pressed doesn't recognize the type definitionπ Expected behavior
Hovering over
Foo
withctrl
pressed recognizes the type definitionAdditional information about the issue
No response
The text was updated successfully, but these errors were encountered: