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

8 lines
299 B
TypeScript

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