Not seeing routes on docs

Hi,
The docs and guide use this piece of code for registering slash commands:
await rest.put(Routes.applicationCommands(CLIENT_ID), { body: commands });

Yet the docs have no class Routes, and my IDE (Webstorm) keeps flagging it as an unknown type. Am I missing something?
Was this page helpful?