open-index/open-npm huggingface dataset:
npm package: @jcbhmr/minimum-common-api-types
Description: 📘 Type definitions for web-interoperable runtime APIs
Latest version: 0.1.0

# Minimum Common API types

📘 Type definitions for web-interoperable runtime APIs

## Installation

```sh
npm install --save-dev @jcbhmr/minimum-common-api-types
```

## Usage

<div><code>tsconfig.json</code></div>

```jsonc
{
  "compilerOptions": {
    "lib": ["ES2024"],
    "types": ["@jcbhmr/minimum-common-api-types"]
  }
}
```

## Development

This project takes advantage of [@types/web](https://www.npmjs.com/package/@types/web). We repackage `@types/web/index.d.ts` (script) as an internal `types-web-module.d.ts` file (module) by exporting everything instead of declaring global types. Then we can import just the types that we want to expose and declare them globally.