00cea41b65
Fixes #15024
15 lines
407 B
TypeScript
15 lines
407 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @allowNonTsExtensions: true
|
|
// @Filename: Foo.js
|
|
//// function f() {
|
|
//// // helloWorld leaks from here into the global space?
|
|
//// if (helloWorld) {
|
|
//// return 3;
|
|
//// }
|
|
//// return 5;
|
|
//// }
|
|
////
|
|
//// hello/**/
|
|
|
|
verify.completions({ includes: { name: "helloWorld", sortText: completion.SortText.JavascriptIdentifiers } });
|