-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityjavascriptJavaScript support issuesJavaScript support issues
Milestone
Description
- VSCode Version: 1.38.1 (originally 1.13.1)
- OS Version: any
Steps to Reproduce:
- Given the files:
a.js:
/**
* @param {number} param1
* @param {string} param2
*/
export function a(param1, param2) {}
index.html:
<script type="module">
import {a} from './a.js'
a( )
</script>
- When typing
a(
, the type information is not picked up from the definition ofa()
ina.js
. - Same works from a JS file
Now that import
is beginning to appear in browsers I think handling this would make sense
blackgate, Sherbanm, areisyus, JohnnyFun and PersonThing
Metadata
Metadata
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityjavascriptJavaScript support issuesJavaScript support issues