TypeScript/tests/cases/fourslash/findAllReferencesJSDocFunctionNew.ts

9 lines
322 B
TypeScript
Raw Normal View History

///<reference path="fourslash.ts" />
// @allowJs: true
// @Filename: Foo.js
2019-06-13 21:25:02 +02:00
/////** @type {function ([|[|{|"isWriteAccess": true, "isDefinition": true, "contextRangeIndex": 0|}new|]: string|], string): string} */
////var f;
2019-06-06 18:49:31 +02:00
const [a0Def, a0] = test.ranges();
2017-07-14 18:34:35 +02:00
verify.singleReferenceGroup("(parameter) new: string", [a0]);