You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
/**
* Add an array of files to tern.
*
* @param {Array.<string>} files - each string in the array is the full
* path of a file.
*/
function handleAddFiles(files) {
files.forEach(function (file) {
ternServer.addFile(file);
});
}
Paste the above code in a js file.
Type handleAddFiles( on a new line.
Press Ctrl+Shift+Space to bring up param hint.
Result: function(Number):Object files shows up as param hint.
Expected It should show Array files.
The text was updated successfully, but these errors were encountered:
Result:
function(Number):Object files
shows up as param hint.Expected It should show
Array files
.The text was updated successfully, but these errors were encountered: