typescript-go
typescript-go copied to clipboard
fix: Crash for completions after JSDoc * on line following string-named property signature
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 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