* Make object literal properties new identifier locations when not contextually typed * Fix completions after comma in object literal * Update other test
16 lines
350 B
TypeScript
16 lines
350 B
TypeScript
// @module: esnext
|
|
|
|
// @Filename: /a.ts
|
|
//// export const exportedConstant = 0;
|
|
|
|
// @Filename: /b.ts
|
|
//// const foo = 'foo'
|
|
//// const obj = { exp/**/
|
|
|
|
verify.completions({
|
|
marker: "",
|
|
exact: completion.globalsPlus(["foo"]),
|
|
isNewIdentifierLocation: true,
|
|
preferences: { includeCompletionsForModuleExports: true },
|
|
});
|