mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
JS: Add call graph test with types
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace NS {
|
||||
export class C {
|
||||
/** name:NS.C.m */
|
||||
m() { }
|
||||
}
|
||||
|
||||
export class D extends C { }
|
||||
}
|
||||
|
||||
function t1(c: NS.C, d: NS.D) {
|
||||
/** calls:NS.C.m */
|
||||
c.m();
|
||||
|
||||
/** calls:NS.C.m */
|
||||
d.m();
|
||||
}
|
||||
Reference in New Issue
Block a user