TypeScript/tests/cases/fourslash/getJavaScriptGlobalCompletions1.ts
2016-02-02 13:10:30 -08:00

16 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');