Skip to content

Commit 70a8ba2

Browse files
committed
JS: Add failing test for assigning a non-SourceNode to a type annotated-value
1 parent 1ec6b98 commit 70a8ba2

File tree

1 file changed

+5
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)