Skip to main content

TypeScript Support

Abstract art page banner

Starlight is built using React and TypeScript. This is for many reasons, such as:

  • Type annotations are very useful and help your IDE understand the type of config objects.
  • IDEs (VS Code, WebStorm, IntelliJ...) will provide a nice auto-completion experience.

Props passed into our components will need to follow the types defined in each component. You can see a list of these and descriptions in the component page.