Merge pull request #906 from asger-semmle/q-library

Approved by xiemaisi
This commit is contained in:
semmle-qlci
2019-02-08 11:12:50 +00:00
committed by GitHub
4 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1 @@
| tst.ts:33:5:33:15 | notPromise4 |

View File

@@ -0,0 +1,5 @@
import javascript
from Expr e
where e.getType().hasUnderlyingType("q", "Deferred")
select e

View File

@@ -1,4 +1,4 @@
import * as Q from "./q";
import * as Q from "q";
import { Thenable, IThenable } from "./es6-promise";
import * as promise from "./promise";