Skip to content

Commit

Permalink
#23 - рабочий пример
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepami committed Jul 20, 2024
1 parent c621031 commit 8154d4d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions samples/forwardref.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
type A = {
b: B;
}

type B = {
a: A;
}

let a: A = {
b: {
a: null;
};
}

print(a as string)

0 comments on commit 8154d4d

Please sign in to comment.