mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
--- old.jsDeclarationsFunctionLikeClasses(target=es2015).symbols
|
|
+++ new.jsDeclarationsFunctionLikeClasses(target=es2015).symbols
|
|
@@= skipped -10, +10 lines =@@
|
|
>y : Symbol(y, Decl(source.js, 4, 24))
|
|
|
|
if (!(this instanceof Point)) {
|
|
->this : Symbol(Point, Decl(source.js, 0, 0))
|
|
>Point : Symbol(Point, Decl(source.js, 0, 0))
|
|
|
|
return new Point(x, y);
|
|
@@= skipped -9, +8 lines =@@
|
|
>y : Symbol(y, Decl(source.js, 4, 24))
|
|
}
|
|
this.x = x;
|
|
->this.x : Symbol(Point.x, Decl(source.js, 7, 5))
|
|
->this : Symbol(Point, Decl(source.js, 0, 0))
|
|
->x : Symbol(Point.x, Decl(source.js, 7, 5))
|
|
>x : Symbol(x, Decl(source.js, 4, 22))
|
|
|
|
this.y = y;
|
|
->this.y : Symbol(Point.y, Decl(source.js, 8, 15))
|
|
->this : Symbol(Point, Decl(source.js, 0, 0))
|
|
->y : Symbol(Point.y, Decl(source.js, 8, 15))
|
|
>y : Symbol(y, Decl(source.js, 4, 24))
|
|
}
|
|
|
|
@@= skipped -27, +21 lines =@@
|
|
>Math.sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --))
|
|
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
|
>sqrt : Symbol(Math.sqrt, Decl(lib.es5.d.ts, --, --))
|
|
->p.x : Symbol(Point.x, Decl(source.js, 7, 5))
|
|
->p : Symbol(p, Decl(referencer.js, 5, 26))
|
|
->x : Symbol(Point.x, Decl(source.js, 7, 5))
|
|
->p.y : Symbol(Point.y, Decl(source.js, 8, 15))
|
|
->p : Symbol(p, Decl(referencer.js, 5, 26))
|
|
->y : Symbol(Point.y, Decl(source.js, 8, 15))
|
|
+>p : Symbol(p, Decl(referencer.js, 5, 26))
|
|
+>p : Symbol(p, Decl(referencer.js, 5, 26))
|
|
}
|