Add aliasing test

This commit is contained in:
Arthur Ozga
2017-05-05 10:54:53 -07:00
parent 384d54603f
commit c0adf99f35

View File

@@ -0,0 +1,12 @@
/// <reference path='fourslash.ts' />
//// type MyType = [string, number];
//// interface I { test(a: MyType): void; }
//// class C implements I {[| |]}
verify.rangeAfterCodeFix(`
test(a: MyType): void {
throw new Error("Method not implemented.");
}
`);