Merge pull request #2093 from asger-semmle/ts-unused-var-fix

Approved by erik-krogh
This commit is contained in:
semmle-qlci
2019-10-08 13:51:46 +01:00
committed by GitHub
10 changed files with 47 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
var C1 = global.C1; // OK
var C2 = global.C2; // OK
class C extends C1 {}
export default class extends C2 {}

View File

@@ -0,0 +1,3 @@
var C1 = global.C1; // OK
export default function(x=C1) {}