Skip to content

Commit

Permalink
Update install section in README (#146)
Browse files Browse the repository at this point in the history
Co-authored-by: changxingzhao <[email protected]>
  • Loading branch information
lucaschang95 and changxingzhao authored Jan 3, 2024
1 parent b71895f commit d599767
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d599767

Please sign in to comment.