15 lines
282 B
TypeScript
15 lines
282 B
TypeScript
///<reference path="fourslash.ts" />
|
|
|
|
// CommonJS modules should not pollute the global namespace
|
|
|
|
// @allowJs: true
|
|
// @Filename: myMod.js
|
|
//// var x = require('fs');
|
|
|
|
// @Filename: other.js
|
|
//// /**/;
|
|
|
|
goTo.file('other.js');
|
|
|
|
verify.not.completionListContains('x');
|