2018-01-05 01:36:31 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
////interface A { a?: number; method?(): number; };
|
|
|
|
////function f(x: A) {
|
|
|
|
////x./*a*/;
|
|
|
|
////}
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({
|
|
|
|
marker: "a",
|
|
|
|
exact: [
|
2018-10-30 19:56:34 +01:00
|
|
|
{ name: "a", kind: "property", kindModifiers: "optional" },
|
|
|
|
{ name: "method", kind: "method", kindModifiers: "optional" },
|
2018-10-29 18:03:25 +01:00
|
|
|
],
|
|
|
|
});
|