TypeScript/tests/cases/fourslash/completionInJSDocFunctionNew.ts

9 lines
296 B
TypeScript
Raw Normal View History

///<reference path="fourslash.ts" />
// @allowJs: true
// @Filename: Foo.js
/////** @type {function (new: string, string): string} */
2017-07-14 18:34:35 +02:00
////var f = function () { return new/**/; }
verify.completions({ marker: "", includes: { name: "new", sortText: completion.SortText.JavascriptIdentifiers } });