/types

TypeScript type definitions for WebGPU (NOTE: the WebGPU API itself is still unstable! These types do not directly reflect an exact specification revision or the implementation status of any browser!)

Primary LanguageTypeScript

Typescript Type Definitions for WebGPU

This package defines Typescript types (.d.ts) for the upcoming WebGPU standard.

This package matches the work-in-progress WebGPU API, which is currently unstable!

Use this package to augment the ambient "dom" type definitions with the new definitions for WebGPU.

What are declaration files?

See the TypeScript handbook.

How can I get them?

npm

npm install --save @webgpu/types

yarn

yarn add @webgpu/types