JS: Add test for dynamic imports

This commit is contained in:
Asger F
2025-06-10 11:30:42 +02:00
parent 92dd5bd1f4
commit 7cc248703a
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
import * as express from 'express';
export async function getRequest(): express.Request {
}

View File

@@ -0,0 +1,4 @@
async function t1() {
const e = await import('./dynamicImportLib');
e.getRequest(); // $ MISSING: hasUnderlyingType='express'.Request
}