Browse Source

doc: TypeScript: fix typo

David Peicho 5 years ago
parent
commit
be9324d577
1 changed files with 3 additions and 5 deletions
  1. 3 5
      docs/manual/en/introduction/Typescript-setup.html

+ 3 - 5
docs/manual/en/introduction/Typescript-setup.html

@@ -11,10 +11,9 @@
 		<h1>[name]</h1>
 
 		<p>
-			three.js is a JavaScript-based library.
+			three.js is a JavaScript-based library. However, it's possible to use three.js in a TypeScript project, as the library
+			exposes [link:https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html TypeScript declaration files] (*.d.ts* files).
 		</p>
-			However, it's possible to use three.js in a TypeScript project, as the library
-			exposes [link:https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html TypeScript declaration files] (*.d.ts* files) making it usable in TypeScript projects.
 
 		<p>
 			A minimal configuration is required for the TypeScript compiler to
@@ -35,8 +34,7 @@
 		</code>
 
 		<p>
-			As of today, it's not yet possible to three.js in a TypeScript project
-			without using the [link:https://www.typescriptlang.org/docs/handbook/module-resolution.html node module resolution algorithm].
+			Note: As of today, it's not yet possible to use three.js typings without using those two options.
 		</p>
 
 		<p>