Skip to content

Commit f06b9a9

Browse files
committed
JS: Add call graph test with types
1 parent 307715a commit f06b9a9

File tree

1 file changed

+16
-0
lines changed
  • javascript/ql/test/library-tests/CallGraphs/AnnotatedTest

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
namespace NS {
2+
export class C {
3+
/** name:NS.C.m */
4+
m() { }
5+
}
6+
7+
export class D extends C { }
8+
}
9+
10+
function t1(c: NS.C, d: NS.D) {
11+
/** calls:NS.C.m */
12+
c.m();
13+
14+
/** calls:NS.C.m */
15+
d.m();
16+
}

0 commit comments

Comments
 (0)