/// <reference path="fourslash.ts"/>

// @strict: false
////interface FooOptions {
////    text?: string;
////}
////interface Foo {
////    bar(xy: string, options?: FooOptions): void;
////}
////var o: Foo = {
////    bar: function (x/*1*/y, opt/*2*/ions = {}) {
////        // expect xy to have type string, and options to have type FooOptions in here
////    }
////}

verify.quickInfos({
    1: "(parameter) xy: string",
    2: "(parameter) options: FooOptions"
});
