2019-02-26 03:54:01 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
// @strict: true
|
|
|
|
|
|
|
|
//// interface Options {
|
|
|
|
//// hello?: boolean;
|
|
|
|
//// world?: boolean;
|
|
|
|
//// }
|
|
|
|
//// declare function foo(options?: Options): void;
|
|
|
|
//// foo({
|
|
|
|
//// hello: true,
|
|
|
|
//// /**/
|
|
|
|
//// });
|
|
|
|
|
|
|
|
verify.completions({
|
|
|
|
marker: "",
|
2019-07-18 06:33:21 +02:00
|
|
|
exact: [
|
|
|
|
{ name: "world", kind: "property", kindModifiers: "optional", sortText: completion.SortText.OptionalMember }
|
|
|
|
]
|
2019-02-26 03:54:01 +01:00
|
|
|
});
|
|
|
|
|