@jcbhmr/minimum-common-api-types
v0.1.0
Published
📘 Type definitions for web-interoperable runtime APIs
Readme
Minimum Common API types
📘 Type definitions for web-interoperable runtime APIs
Installation
npm install --save-dev @jcbhmr/minimum-common-api-typesUsage
{
"compilerOptions": {
"lib": ["ES2024"],
"types": ["@jcbhmr/minimum-common-api-types"]
}
}Development
This project takes advantage of @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.
