typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

fix: Crash for completions after JSDoc * on line following string-named property signature

Open jgsheppa opened this issue 2 weeks ago • 1 comments

This is a fix for https://github.com/microsoft/typescript-go/issues/2290.

It would seem that type elements can also be included in JSDoc comments, so a check was added in addition to ast.ISJSDocKind to allow for property signatures among other type elements.

Note: This is my first contribution to the TypeScript compiler, so if I'm totally off the mark, feel free to be blunt about it.

jgsheppa avatar Dec 11 '25 13:12 jgsheppa

@jgsheppa please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

jgsheppa avatar Dec 11 '25 13:12 jgsheppa