TypeScript/tests/cases/fourslash/completionsAtIncompleteObjectLiteralProperty.ts

15 lines
345 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @noLib: true
////f({
//// a/**/
//// xyz: ``,
////});
////declare function f(options: { abc?: number, xyz?: string }): void;
verify.completions({
marker: "",
2019-07-19 05:37:28 +02:00
exact: [{ name: 'abc', kind: 'property', kindModifiers: 'declare,optional', sortText: completion.SortText.OptionalMember }],
});