Skip to content

Commit 15fd143

Browse files
committed
JS: Add test for dynamic imports
1 parent 64554c8 commit 15fd143

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import * as express from 'express';
2+
3+
export async function getRequest(): express.Request {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
async function t1() {
2+
const e = await import('./dynamicImportLib');
3+
e.getRequest(); // $ MISSING: hasUnderlyingType='express'.Request
4+
}

0 commit comments

Comments
 (0)