diff --git a/tests/cases/fourslash/completionListInObjectLiteral8.ts b/tests/cases/fourslash/completionListInObjectLiteral8.ts new file mode 100644 index 0000000000000..11b8a1844d4eb --- /dev/null +++ b/tests/cases/fourslash/completionListInObjectLiteral8.ts @@ -0,0 +1,18 @@ +/// + +////declare function test< +//// Variants extends Partial>, +////>(v: Variants): void +//// +////test({ +//// hover: "", +//// /**/ +////}); + +verify.completions({ + marker: '', + exact: [{ + name: 'pressed', + sortText: completion.SortText.OptionalMember + }] +});