瀏覽代碼

chore: docs types typos (#309)

* docs: fix typos

* docs: fix getting-started types typo
Alvaro Saburido 2 年之前
父節點
當前提交
2ba6b2f313
共有 2 個文件被更改,包括 6 次插入6 次删除
  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
 ```
 
 :::