15 lines
342 B
TypeScript
15 lines
342 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.completionListContains('helloWorld');
|