Jump to definition and find all references are now available for all JavaScript, PHP, and TypeScript repositories on GitHub. Previously these languages were in beta but are now fully available.
When viewing a JavaScript, PHP, or TypeScript file on github.com, clicking on a function or method name exposes a code navigation card with links to all of its definitions and references within the same repository. We use the semantic library to find definitions and call sites in your code.