From 1cb464ce4ced47597bcc4b8c78d041b4d5cfc0ca Mon Sep 17 00:00:00 2001 From: changxingzhao Date: Fri, 22 Dec 2023 13:56:20 +0800 Subject: [PATCH] Update install section in README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;