Browse Source

chore: docs types typos (#309)

* docs: fix typos

* docs: fix getting-started types typo
Alvaro Saburido 1 year ago
parent
commit
2ba6b2f313
2 changed files with 6 additions and 6 deletions
  1. 3 3
      docs/guide/getting-started.md
  2. 3 3
      docs/guide/index.md

+ 3 - 3
docs/guide/getting-started.md

@@ -27,15 +27,15 @@ TresJS is written in Typescript and it's fully typed. If you are using Typescrip
 ::: code-group
 
 ```bash [npm]
-npm install @three/types -D
+npm install @types/three -D
 ```
 
 ```bash [yarn]
-yarn add @three/types -D
+yarn add @types/three -D
 ```
 
 ```bash [pnpm]
-pnpm add @three/types -D
+pnpm add @types/three -D
 ```
 
 :::

+ 3 - 3
docs/guide/index.md

@@ -29,15 +29,15 @@ TresJS is written in Typescript and it's fully typed. If you are using Typescrip
 ::: code-group
 
 ```bash [npm]
-npm install @three/types -D
+npm install @types/three -D
 ```
 
 ```bash [yarn]
-yarn add @three/types -D
+yarn add @types/three -D
 ```
 
 ```bash [pnpm]
-pnpm add @three/types -D
+pnpm add @types/three -D
 ```
 
 :::