Browse Source

chore: docs types typos (#309)

* docs: fix typos

* docs: fix getting-started types typo
Alvaro Saburido 1 năm trước cách đây
mục cha
commit
2ba6b2f313

+ 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
 ::: code-group
 
 
 ```bash [npm]
 ```bash [npm]
-npm install @three/types -D
+npm install @types/three -D
 ```
 ```
 
 
 ```bash [yarn]
 ```bash [yarn]
-yarn add @three/types -D
+yarn add @types/three -D
 ```
 ```
 
 
 ```bash [pnpm]
 ```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
 ::: code-group
 
 
 ```bash [npm]
 ```bash [npm]
-npm install @three/types -D
+npm install @types/three -D
 ```
 ```
 
 
 ```bash [yarn]
 ```bash [yarn]
-yarn add @three/types -D
+yarn add @types/three -D
 ```
 ```
 
 
 ```bash [pnpm]
 ```bash [pnpm]
-pnpm add @three/types -D
+pnpm add @types/three -D
 ```
 ```
 
 
 :::
 :::