File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
javascript/ql/test/library-tests/UnderlyingTypes Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1+ function t1 ( el : HTMLElement ) { } // $ hasUnderlyingType=HTMLElement
2+
3+ /**
4+ * @param {HTMLInputElement } el
5+ */
6+ function t2 ( el ) { // $ hasUnderlyingType=HTMLInputElement
7+ }
8+
9+ function t3 ( req : Express . Request ) { // $ hasUnderlyingType=Express.Request
10+ }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ function t1(e: typeof express) { // $ hasUnderlyingType='express'
66function t2 ( req : express . Request ) { // $ hasUnderlyingType='express'.Request
77}
88
9- function t3 ( req : Request ) { // none, not in scope
9+ function t3 ( req : Request ) { // $ hasUnderlyingType=Request - not in scope, refers to a global
1010}
1111
1212type E = typeof express ;
You can’t perform that action at this time.
0 commit comments