Added failing fourslash test.

This commit is contained in:
Daniel Rosenwasser
2015-09-18 10:56:40 -07:00
parent 3fa6b6de3a
commit 76da69c6c6

View File

@@ -0,0 +1,32 @@
/// <reference path="fourslash.ts" />
// @noImplicitAny: true
////interface A {
//// numProp: number;
////}
////
////interface B {
//// strProp: string;
////}
////
////interface Foo {
//// method1(arg: A): void;
//// method2(arg: B): void;
////}
////
////function getFoo1(): Foo {
//// return {
//// method1(/*param1*/arg) {
//// arg.numProp = 10;
//// },
//// method2(/*param2*/arg) {
//// arg.strProp = "hello";
//// }
//// }
////}
goTo.marker("param1");
verify.quickInfoIs("(parameter) arg: A")
goTo.marker("param2");
verify.quickInfoIs("(parameter) arg: B")