You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ yarn lint
20
20
yarn lint --watch
21
21
```
22
22
23
-
That's it, you've got a copy of all the documentation and now can write documentation which follows the existing patterns.
23
+
That's it, you've got a copy of all the documentation and now can write documentation which follows the existing patterns. There's a longer intro [in `welcome.md`](./welcome.md).
oneline: Comment utiliser une nightly build de TypeScript
6
+
translatable: true
7
+
---
8
+
9
+
Une nightly build de la branche [Typescript `main`](https://github.com/Microsoft/TypeScript/tree/main) est publiée avant minuit PST sur npm.
10
+
Voici comment vous pouvez l'obtenir et l'utiliser avec vos outils.
11
+
12
+
## En utilisant npm
13
+
14
+
```shell
15
+
npm install -g typescript@next
16
+
```
17
+
18
+
## Mettre à jour votre IDE pour utiliser les nightly builds
19
+
20
+
Vous pouvez également mettre à jour votre IDE pour utiliser la nightly build.
21
+
Vous devrez d'abord installer le package via npm.
22
+
Vous pouvez soit installer le package npm globalement, soit dans un dossier local `node_modules`.
23
+
24
+
Le reste de cette section suppose que `typescript@next` est déjà installé.
25
+
26
+
### Visual Studio Code
27
+
28
+
Mettez à jour `.vscode/settings.json` avec les éléments suivants :
29
+
30
+
```json
31
+
"typescript.tsdk": "<chemin vers votre dossier>/node_modules/typescript/lib"
32
+
```
33
+
34
+
Plus d'informations sont disponibles sur la [documentation VSCode](https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions).
35
+
36
+
37
+
### Sublime Text
38
+
39
+
Mettez à jour le fichier `Paramètres - Utilisateur` avec les éléments suivants :
40
+
41
+
```json
42
+
"typescript_tsdk": "<chemin vers votre dossier>/node_modules/typescript/lib"
43
+
```
44
+
45
+
Plus d'informations sont disponibles dans la [documentation d'installation du plug-in TypeScript pour Sublime Text](https://github.com/Microsoft/TypeScript-Sublime-Plugin#installation).
46
+
47
+
### Visual Studio 2013 et 2015
48
+
49
+
> Remarque : La plupart des modifications ne nécessitent pas l'installation d'une nouvelle version du plug-in VS TypeScript.
50
+
51
+
La nightly build n'inclut actuellement pas la configuration complète du plug-in, mais nous travaillons également à la publication d'un programme d'installation nigthly.
52
+
53
+
1. Téléchargez le script [VSDevMode.ps1](https://github.com/Microsoft/TypeScript/blob/main/scripts/VSDevMode.ps1).
54
+
55
+
> Voir également notre page wiki sur [l'utilisation d'un fichier de service de langue personnalisé](https://github.com/Microsoft/TypeScript/wiki/Dev-Mode-in-Visual-Studio#using-a-custom-language-service-file).
56
+
57
+
2. À partir d'une fenêtre de commande PowerShell, exécutez :
58
+
59
+
Pour VS 2015:
60
+
```posh
61
+
VSDevMode.ps1 14 -tsScript <chemin vers votre dossier>/node_modules/typescript/lib
62
+
```
63
+
64
+
Pour VS 2013:
65
+
66
+
```posh
67
+
VSDevMode.ps1 12 -tsScript <chemin vers votre dossier>/node_modules/typescript/lib
68
+
```
69
+
70
+
### IntelliJ IDEA (Mac)
71
+
72
+
Allez dans `Préférences` > `Langues & Frameworks` > `TypeScript` :
73
+
74
+
> Version TypeScript : Si vous avez installé avec npm : `/usr/local/lib/node_modules/typescript/lib`
0 commit comments