TypeScript/tests/cases/fourslash/completionJSDocNamePath.ts
Nathan Shively-Sanders df5981319f
Fix crash on completion in jsdoc namepath (#39347)
contextToken may be undefined, so the isAssertionExpression call in
filterGlobalCompletion needs to check for undefined.
2020-06-30 15:53:13 -07:00

16 lines
274 B
TypeScript

// @noLib: true
/// <reference path='fourslash.ts'/>
// fix crash from #38407
//// /**
//// * @returns {modu/*1*/le:ControlFlow}
//// */
//// export function cargo() {
//// }
goTo.marker('1');
verify.completions({ marker: "1", excludes: ["module", "ControlFlow"] });