mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JS: Add test for dynamic imports
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import * as express from 'express';
|
||||
|
||||
export async function getRequest(): express.Request {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
async function t1() {
|
||||
const e = await import('./dynamicImportLib');
|
||||
e.getRequest(); // $ MISSING: hasUnderlyingType='express'.Request
|
||||
}
|
||||
Reference in New Issue
Block a user