Get Complete Type Definitions for Lightning Base Components

Build your apps with confidence with the completion of the TypeScript rollout for all Lightning base components.

Where: This change applies to Lightning Experience, Experience Builder sites, and all versions of the mobile app in all editions.

How: When using a base component, import its type definition in your component. Type definitions for base components are available in the @salesforce/lightning-types Node Package Manager (npm) package.

If you have defined your own type definitions for base components, we recommend using the npm package in your LWC project instead.