TypeScript/tests/cases/fourslash/renameJSDocNamepath.ts
Nathan Shively-Sanders 6b645f582b
Fix find-refs crash on JSDocNamepath (#36941)
JSDocNamepaths span a lot of identifiers that we don't actually care
about, so it's incorrect for createChildren to add its children as
synthetic nodes.
2020-02-21 15:37:11 -08:00

12 lines
173 B
TypeScript

// @noLib: true
/// <reference path='fourslash.ts'/>
//// /**
//// * @type {module:foo/A} x
//// */
//// var x = 1
//// var /*0*/A = 0;
verify.baselineRename("0", {});