16 lines
462 B
TypeScript
16 lines
462 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
// This used to cause a crash because we would ask for exports on `"x"`,
|
|
// which would return undefined and cause a NPE. Now we return emptySymbol instead.
|
|
// See GH#16610.
|
|
|
|
////declare module "x" {
|
|
//// declare var x: number;
|
|
//// export = x;
|
|
////}
|
|
////
|
|
////let y: /**/
|
|
|
|
// This is just a dummy test to cause `getCompletionsAtPosition` to be called.
|
|
verify.completions({ marker: "", excludes: "x" });
|