diff --git a/tests/scopes.js b/tests/scopes.js index 8952f45..a8f57ed 100644 --- a/tests/scopes.js +++ b/tests/scopes.js @@ -5,35 +5,35 @@ type Y = { }; (function () { - type X = number; - type Y = { x: X, }; type Z = string; - function foo() { - type X = boolean; + type X = number; + function foo() { type Y = { x: X, z: Z, }; + type X = boolean; + // TODO: replace with commonjs. export {Y as Y2}; } class Test { static bar() { - type X = number; - type Y = { x: X, z: Z, }; + type X = number; + export {Y as Y3}; }