open-index/open-npm huggingface dataset:
npm package: @shopify/app-bridge-ui-types
Description: Type definitions for App Bridge UI.
Latest version: 0.3.3

# @shopify/app-bridge-ui-types

Type definitions for App Bridge UI.

## Installation

Add the types package as a dev dependency:

```bash
npm i -D @shopify/app-bridge-ui-types
```

## Usage

Since App Bridge UI is not imported directly, you need to add the types to your TypeScript configuration in one of the following ways:

### Method 1: Add to tsconfig.json

```json
{
  "compilerOptions": {
    "types": ["@shopify/app-bridge-ui-types"]
  }
}
```

### Method 2: Add as a triple-slash reference

Add the following line at the top of your TypeScript files where you need the types:

```typescript
/// <reference types="@shopify/app-bridge-ui-types" />
```