diff --git a/README.md b/README.md index 146b0cc..1d30f7a 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,9 @@ See the [TypeScript handbook](http://www.typescriptlang.org/docs/handbook/declar ### Install -- npm: `npm install --save @webgpu/types` -- yarn: `yarn add @webgpu/types` +- npm: `npm install --save-dev @webgpu/types` +- yarn: `yarn add --dev @webgpu/types` +- pnpm: `pnpm add -D @webgpu/types` If you are on TypeScript < 5.1, you will also need to install `@types/dom-webcodecs` as a sibling dependency. The version you need depends on the TypeScript version;