TypeScript/tests/cases/fourslash/completionInJSDocFunctionNew.ts
2019-05-20 15:53:51 -07:00

9 lines
296 B
TypeScript

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