mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
47 lines
1.4 KiB
Diff
47 lines
1.4 KiB
Diff
--- old.jsDeclarationsFunctions.symbols
|
|
+++ new.jsDeclarationsFunctions.symbols
|
|
@@= skipped -4, +4 lines =@@
|
|
>a : Symbol(a, Decl(index.js, 0, 0))
|
|
|
|
export function b() {}
|
|
->b : Symbol(b, Decl(index.js, 0, 22), Decl(index.js, 2, 22))
|
|
+>b : Symbol(b, Decl(index.js, 0, 22))
|
|
|
|
b.cat = "cat";
|
|
>b.cat : Symbol(b.cat, Decl(index.js, 2, 22))
|
|
->b : Symbol(b, Decl(index.js, 0, 22), Decl(index.js, 2, 22))
|
|
+>b : Symbol(b, Decl(index.js, 0, 22))
|
|
>cat : Symbol(b.cat, Decl(index.js, 2, 22))
|
|
|
|
export function c() {}
|
|
->c : Symbol(c, Decl(index.js, 3, 14), Decl(index.js, 5, 22))
|
|
+>c : Symbol(c, Decl(index.js, 3, 14))
|
|
|
|
c.Cls = class {}
|
|
>c.Cls : Symbol(c.Cls, Decl(index.js, 5, 22))
|
|
->c : Symbol(c, Decl(index.js, 3, 14), Decl(index.js, 5, 22))
|
|
+>c : Symbol(c, Decl(index.js, 3, 14))
|
|
>Cls : Symbol(c.Cls, Decl(index.js, 5, 22))
|
|
|
|
/**
|
|
@@= skipped -41, +41 lines =@@
|
|
* @param {T} a
|
|
*/
|
|
export function f(a) {
|
|
->f : Symbol(f, Decl(index.js, 21, 58), Decl(index.js, 29, 1))
|
|
+>f : Symbol(f, Decl(index.js, 21, 58))
|
|
>a : Symbol(a, Decl(index.js, 27, 18))
|
|
|
|
return a;
|
|
@@= skipped -8, +8 lines =@@
|
|
}
|
|
f.self = f;
|
|
>f.self : Symbol(f.self, Decl(index.js, 29, 1))
|
|
->f : Symbol(f, Decl(index.js, 21, 58), Decl(index.js, 29, 1))
|
|
+>f : Symbol(f, Decl(index.js, 21, 58))
|
|
>self : Symbol(f.self, Decl(index.js, 29, 1))
|
|
->f : Symbol(f, Decl(index.js, 21, 58), Decl(index.js, 29, 1))
|
|
+>f : Symbol(f, Decl(index.js, 21, 58))
|
|
|
|
/**
|
|
* @param {{x: string}} a
|