Reorder definitions in the scope test
parent
ec87f9dda0
commit
07bc3156c2
|
@ -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};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue