Skip to content

Commit 885920c

Browse files
committed
JS: Expand selective re-export test case
1 parent 4ba8e1f commit 885920c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export { Request } from 'express';
2+
export { Response as R } from 'express';
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
import { Request, Response } from './expressSelectiveExport';
1+
import { Request, Response, R } from './expressSelectiveExport';
22

33
function t1(req: Request) { // $ MISSING: hasUnderlyingType='express'.Request
44
}
55

66
function t2(res: Response) { // none, not exported
77
}
8+
9+
function t3(res: R) { // $ MISSING: hasUnderlyingType='express'.Response
10+
}

0 commit comments

Comments
 (0)