Skip to content

Commit c0adf99

Browse files
author
Arthur Ozga
committed
Add aliasing test
1 parent 384d546 commit c0adf99

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/// <reference path='fourslash.ts' />
2+
3+
//// type MyType = [string, number];
4+
//// interface I { test(a: MyType): void; }
5+
//// class C implements I {[| |]}
6+
7+
verify.rangeAfterCodeFix(`
8+
test(a: MyType): void {
9+
throw new Error("Method not implemented.");
10+
}
11+
`);
12+

0 commit comments

Comments
 (0)