mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Adding tests
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
interface Tree1 {
|
||||
children: [Tree1, Tree2];
|
||||
}
|
||||
|
||||
interface Tree2 {
|
||||
children: [Tree2, Tree1];
|
||||
}
|
||||
|
||||
let tree1: Tree1;
|
||||
let tree2: Tree2;
|
||||
tree1 = tree2;
|
||||
tree2 = tree1;
|
||||
@@ -0,0 +1,12 @@
|
||||
interface Tree1 {
|
||||
children: [Tree1, Tree2];
|
||||
}
|
||||
|
||||
interface Tree2 {
|
||||
children: [Tree2, Tree2];
|
||||
}
|
||||
|
||||
let tree1: Tree1;
|
||||
let tree2: Tree2;
|
||||
tree1 = tree2;
|
||||
tree2 = tree1;
|
||||
Reference in New Issue
Block a user