When you have a File Structure similar to the following:

When you go to a peek definition in VSCode, you won't find all the references. In that case, create a jsconfig.json file and add the following content:

This will instruct the peek definition to look into the files in the included folders.

Happy Coding!!