diff --git a/samples/forwardref.js b/samples/forwardref.js new file mode 100644 index 00000000..5c73092e --- /dev/null +++ b/samples/forwardref.js @@ -0,0 +1,15 @@ +type A = { + b: B; +} + +type B = { + a: A; +} + +let a: A = { + b: { + a: null; + }; +} + +print(a as string) \ No newline at end of file