Skip to main content

Browser types

Types are a powerful tool for adding type-safety to your application. They can help you catch bugs early, make your code easier to understand, and make your code easier to refactor. Browser provides a number of types to help you add type-safety to your application.

To get access to Browser types, you need to add the @browser/types package to your project. Run the following command to install it:

npm install @browser/types
pnpm add @browser/types
yarn add @browser/types
bun add @browser/types

Feedback

What did you think of this content?

Last updated on