Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
cb45b05
zh: 游乐场 -> 演练场
zhongsp Feb 14, 2021
c88431a
zh: 联系我们 -> 社区
zhongsp Feb 14, 2021
2c7abe7
zh: 工具链 -> 工具
zhongsp Feb 14, 2021
c844842
zh: improve headline
zhongsp Feb 14, 2021
927b35d
Translate file Deep Dive
gustavofabro Apr 27, 2021
c64eebc
Add brazilian portuguese By Exemple.md
Perkles Apr 29, 2021
293a4a4
fix permalink
gustavofabro Apr 30, 2021
a8cbd45
Add brazilian portuguese Dos and donts.md
Perkles May 1, 2021
5021394
Translate 1 file to ko - Mapped Types
yahma25 Jun 6, 2021
b75d7b6
Fix naturally
yahma25 Jun 7, 2021
d283509
Translate 1 file to ko. playground Indexed Types
yahma25 Jun 13, 2021
a74c59b
Translate 1 file to ko.
yahma25 Jun 13, 2021
eb31fcc
Translate 1 file to ko playground - Conditional Types
yahma25 Jun 20, 2021
35ae64c
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
fd0462e
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
b156f52
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
b2c2bf0
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
1039196
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
959fff6
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
beda96e
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
23b7970
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
26709ab
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
d07254a
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
2484fb7
Update docs/playground/ko/TypeScript/Meta-Types/Mapped Types.ts
yahma25 Jun 20, 2021
64ec6cc
Change to another word for natural
yahma25 Jun 21, 2021
8973b4d
Translate 1 file to ko, playground - Nominal Typing
yahma25 Jun 24, 2021
e80ff13
Translate 1 file to ko, playground - Structural Typing
yahma25 Jun 26, 2021
914060e
Merge pull request #79 from yahma25/Translation-to-ko-playground-Mapp…
github-actions[bot] Jun 27, 2021
9afcc0d
Translate 1 file to ko - Typescript Version
vewevteen Jun 29, 2021
dbcb490
Translate 1 file to ko - Mobile Support
vewevteen Jul 1, 2021
e25c326
Translate 1 file to ko, tsconfig - moduleResolution
proceane Jul 16, 2021
be0e139
Translate 1 file to ko, tsConfig - noResolve
proceane Jul 16, 2021
30556c2
add .vscode option folder to gitignore, Nightly Builds.md and intro.m…
ManuSquall Jul 21, 2021
6cf716e
Update typescript and add .vscode to the gitignore
orta Jul 22, 2021
0af417c
bump some stuff
orta Jul 22, 2021
d5158a3
adds an assignee to me for my PRs
orta Jul 22, 2021
dc5b583
Get files in sync with new tsconfig ref
orta Jul 22, 2021
9840817
vbump
orta Jul 22, 2021
e4390f2
Merge pull request #102 from microsoft/bumps
Jul 22, 2021
db2f488
Adds french
orta Jul 22, 2021
7043367
Adds PR reference
orta Jul 22, 2021
bb6ef17
Docs
orta Jul 22, 2021
69341f6
Merge pull request #101 from microsoft/adds_fr
Jul 22, 2021
aa7b904
remove .vscode/ from the gitignore
ManuSquall Jul 22, 2021
fbd18db
Merge branch 'microsoft:main' into main
ManuSquall Jul 22, 2021
93a6415
FR translation: copy file to translate
nfabredev Jul 22, 2021
3a46d08
FR translation: translating to french
nfabredev Jul 22, 2021
1c2fc3d
Add fr/typescriptlang/community.ts
Jul 23, 2021
0db86d5
Update docs/documentation/fr/Nightly Builds.md
ManuSquall Jul 23, 2021
105fb8e
Update docs/documentation/fr/Nightly Builds.md
ManuSquall Jul 23, 2021
eb0fd68
Update docs/tsconfig/fr/intro.md
ManuSquall Jul 23, 2021
3dd840b
Update docs/documentation/fr/Nightly Builds.md
ManuSquall Jul 23, 2021
37bb09a
Get green
orta Jul 23, 2021
d53ed4d
Merge branch 'main' of https://github.com/microsoft/TypeScript-Websit…
orta Jul 23, 2021
2330ad1
Merge branch 'microsoft:main' into main
ManuSquall Jul 23, 2021
604a929
FR translation: typo + additional translation
nfabredev Jul 23, 2021
990648e
Merge pull request #104 from nfabredev/translate-fr-playground-sections
github-actions[bot] Jul 23, 2021
7b22995
Update docs/tsconfig/fr/intro.md
ManuSquall Jul 23, 2021
813f127
Merge branch 'microsoft:main' into main
ManuSquall Jul 23, 2021
ee2bf9a
Fix feedback wording
Jul 23, 2021
429dce1
update Nightly Builds.md
ManuSquall Jul 23, 2021
11beda5
Merge branch 'main' of https://github.com/ManuSquall/TypeScript-Websi…
ManuSquall Jul 23, 2021
d0d93f0
Merge pull request #105 from gaelduplessix/typescriptlang-fr-setup
github-actions[bot] Jul 23, 2021
edccbaf
Merge branch 'microsoft:main' into main
ManuSquall Jul 23, 2021
edbf771
Merge pull request #103 from ManuSquall/main
github-actions[bot] Jul 23, 2021
158a8df
translate Angular.md file
ManuSquall Jul 24, 2021
dc86224
translate React.md file in french
ManuSquall Jul 24, 2021
fd37f71
FR translation: some file in typescriptlong
zyhou Jul 24, 2021
bab038a
fix permalink in Angularmd and Reactmd files
ManuSquall Jul 24, 2021
11fa831
Fix CI
orta Jul 26, 2021
2777fdd
Update attribution.json
invalid-email-address Jul 26, 2021
8c08196
Update docs/documentation/fr/tutorials/Angular.md
ManuSquall Jul 27, 2021
6f3077b
Update docs/documentation/fr/tutorials/React.md
ManuSquall Jul 27, 2021
1a726cc
FR Translation: copy file to translate
nfabredev Jul 23, 2021
ae89677
FR translation: translate file
nfabredev Jul 23, 2021
17ea222
FR translation: add file to translate
nfabredev Jul 23, 2021
6527850
FR translation: translate file
nfabredev Jul 23, 2021
40db6d1
FR translation: copy file to translate
nfabredev Jul 23, 2021
a067344
FR translations: translate file
nfabredev Jul 23, 2021
482740b
Merge pull request #106 from nfabredev/translate-fr-playground-3-7-fi…
github-actions[bot] Jul 28, 2021
3146603
Merge pull request #109 from ManuSquall/main
github-actions[bot] Jul 28, 2021
35c9752
Merge pull request #110 from zyhou/main
github-actions[bot] Jul 28, 2021
9987b54
Update docs/playground/ko/TypeScript/Meta-Types/Indexed Types.ts
yahma25 Jul 29, 2021
34da375
Merge pull request #89 from vewevteen/Translation-ko-Typescript-version
Jul 30, 2021
ca9864d
Merge pull request #97 from proceane/noResolve
Jul 30, 2021
91adcf9
Merge pull request #96 from proceane/moduleResolution
Jul 30, 2021
381d1a9
Merge pull request #37 from zhongsp/zhongsp/zh-improve-i18n
Jul 30, 2021
dac2a2a
fix(project-config): fix wrong translated sentence
evan-moon Jul 31, 2021
535f488
Merge pull request #111 from evan-moon/main
github-actions[bot] Aug 2, 2021
abec976
Update attribution.json
invalid-email-address Aug 2, 2021
00e1fee
Merge pull request #72 from Perkles/pt-br-perkles-documentation-decla…
Aug 2, 2021
a690ccd
Merge pull request #71 from gustavofabro/gustavofabro-ptbr-translation
Aug 2, 2021
2501c57
Merge pull request #80 from yahma25/Translation-to-ko-playground-Inde…
Aug 2, 2021
43e7399
Merge pull request #91 from vewevteen/Translation-Ko-Mobile-Support
Aug 2, 2021
a50c3e4
Update docs/playground/ko/TypeScript/Meta-Types/Discriminate Types.ts
yahma25 Aug 3, 2021
2855767
Translate file Introduction
gustavofabro Aug 3, 2021
77028da
Merge pull request #81 from yahma25/Translation-to-ko-playground-Disc…
Aug 4, 2021
b363e8e
Merge pull request #112 from gustavofabro/gustavofabro-ptbr-translation
github-actions[bot] Aug 5, 2021
040e4b8
Fix typo in JSX.md
kemalelmizan Aug 7, 2021
9f6901c
Merge pull request #113 from kemalelmizan/patch-1
github-actions[bot] Aug 7, 2021
80aae07
FR translation: copy folder to translate
nfabredev Jul 31, 2021
993fee5
FR translation: translate files
nfabredev Aug 7, 2021
03f503b
Merge pull request #114 from nfabredev/translate-fr-playground-3-7-sy…
github-actions[bot] Aug 7, 2021
620cc8f
FR translation: fix typo
nfabredev Aug 7, 2021
3ef4c2a
Merge pull request #116 from nfabredev/translate-fr-playground-3-7-sy…
github-actions[bot] Aug 7, 2021
0a63617
Update attribution.json
invalid-email-address Aug 9, 2021
e7747ba
Update docs/playground/ko/TypeScript/Language Extensions/Nominal Typi…
yahma25 Aug 10, 2021
a683cb4
Merge branch 'main' of https://github.com/yahma25/TypeScript-Website-…
yahma25 Aug 10, 2021
c4ded0a
Merge pull request #86 from yahma25/Translation-to-ko-playground-Nomi…
Aug 11, 2021
6ccb6ab
Update docs-sync
orta Aug 12, 2021
f8af1aa
add @dvlprsh as a korean collaborator
orta Aug 12, 2021
e7ef1a7
Note 'in your language'
orta Aug 13, 2021
6f6b743
Merge pull request #82 from yahma25/Translation-to-ko-playground-Cond…
github-actions[bot] Aug 14, 2021
6cb09e9
Translate 1 file to ko, playground - Structural Typing
yahma25 Jun 26, 2021
fc8c2aa
Merge remote-tracking branch 'upstream/Translation-to-ko-palyground-S…
yahma25 Aug 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ docs/typescriptlang/zh.ts @Kingwl [translation] [zh]
docs/documentation/zh/**/*.md @Kingwl [translation] [zh]

# Collaborators for Korean Translation of the Website
docs/playground/ko @Bumkeyy @yeonjuan @guyeol [translation] [ko]
docs/tsconfig/ko/**/*.md @Bumkeyy @yeonjuan @guyeol [translation] [ko]
docs/typescriptlang/ko/**/*.ts @Bumkeyy @yeonjuan @guyeol [translation] [ko]
docs/typescriptlang/ko.ts @Bumkeyy @yeonjuan @guyeol [translation] [ko]
docs/documentation/ko/**/*.md @Bumkeyy @yeonjuan @guyeol [translation] [ko]
docs/playground/ko @Bumkeyy @yeonjuan @guyeol @dvlprsh [translation] [ko]
docs/tsconfig/ko/**/*.md @Bumkeyy @yeonjuan @guyeol @dvlprsh [translation] [ko]
docs/typescriptlang/ko/**/*.ts @Bumkeyy @yeonjuan @guyeol @dvlprsh [translation] [ko]
docs/typescriptlang/ko.ts @Bumkeyy @yeonjuan @guyeol @dvlprsh [translation] [ko]
docs/documentation/ko/**/*.md @Bumkeyy @yeonjuan @guyeol @dvlprsh [translation] [ko]

# Collaborators for Indonesian Translation of the Website
docs/playground/id @jefrydco @nusendra @mazipan @mandaputtra [translation] [id]
Expand Down Expand Up @@ -62,3 +62,10 @@ docs/tsconfig/it/**/*.md @Nabster101 @DeltaPy @PyGera [translation] [it]
docs/typescriptlang/it/**/*.ts @Nabster101 @DeltaPy @PyGera [translation] [it]
docs/typescriptlang/it.ts @Nabster101 @DeltaPy @PyGera [translation] [it]
docs/documentation/it/**/*.md @Nabster101 @DeltaPy @PyGera [translation] [it]

# Collaborators for French Translation of the Website
docs/playground/fr @ManuSquall @Ascor8522 [translation] [fr]
docs/tsconfig/fr/**/*.md @ManuSquall @Ascor8522 [translation] [fr]
docs/typescriptlang/fr/**/*.ts @ManuSquall @Ascor8522 [translation] [fr]
docs/typescriptlang/fr.ts @ManuSquall @Ascor8522 [translation] [fr]
docs/documentation/fr/**/*.md @ManuSquall @Ascor8522 [translation] [fr]
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "13.x"

- run: yarn
- run: yarn docs-sync validate-against-en

Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/codeowners-merge.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Codeowners merging
on:
pull_request_target: { types: [ opened, synchronize, reopened] }
issue_comment: { types: created }
pull_request_review: { types: submitted }
pull_request_target: { types: [opened, synchronize, reopened] }
issue_comment: { types: [created] }
pull_request_review: { types: [submitted] }

jobs:
build:
merge-check:
runs-on: ubuntu-latest

steps:
Expand All @@ -14,3 +14,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: OSS-Docs-Tools/code-owner-self-merge@master
with:
if_no_maintainers_add_label: 'maintainers'
if_no_maintainers_assign: '@orta'
3 changes: 3 additions & 0 deletions .github/workflows/post-localizations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "13.x"

- run: yarn install

- run: yarn danger ci
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/weekly-contributions.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,6 @@ dist

# Related to @oss-docs/sync
docs/**/en

# Then you can set this up yourself
.vscode
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ yarn lint
yarn lint --watch
```

That's it, you've got a copy of all the documentation and now can write documentation which follows the existing patterns.
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).

### How translations work

Expand Down
2 changes: 1 addition & 1 deletion attribution.json

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions docs/documentation/fr/Nightly Builds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
title: Nightly Builds
layout: docs
permalink: /fr/docs/handbook/nightly-builds.html
oneline: Comment utiliser une nightly build de TypeScript
translatable: true
---

Une nightly build de la branche [Typescript `main`](https://github.com/Microsoft/TypeScript/tree/main) est publiée avant minuit PST sur npm.
Voici comment vous pouvez l'obtenir et l'utiliser avec vos outils.

## En utilisant npm

```shell
npm install -g typescript@next
```

## Mettre à jour votre IDE pour utiliser les nightly builds

Vous pouvez également mettre à jour votre IDE pour utiliser la nightly build.
Vous devrez d'abord installer le package via npm.
Vous pouvez soit installer le package npm globalement, soit dans un dossier local `node_modules`.

Le reste de cette section suppose que `typescript@next` est déjà installé.

### Visual Studio Code

Mettez à jour `.vscode/settings.json` avec les éléments suivants :

```json
"typescript.tsdk": "<chemin vers votre dossier>/node_modules/typescript/lib"
```

Plus d'informations sont disponibles sur la [documentation VSCode](https://code.visualstudio.com/Docs/languages/typescript#_using-newer-typescript-versions).


### Sublime Text

Mettez à jour le fichier `Paramètres - Utilisateur` avec les éléments suivants :

```json
"typescript_tsdk": "<chemin vers votre dossier>/node_modules/typescript/lib"
```

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).

### Visual Studio 2013 et 2015

> Remarque : La plupart des modifications ne nécessitent pas l'installation d'une nouvelle version du plug-in VS TypeScript.

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.

1. Téléchargez le script [VSDevMode.ps1](https://github.com/Microsoft/TypeScript/blob/main/scripts/VSDevMode.ps1).

> 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).

2. À partir d'une fenêtre de commande PowerShell, exécutez :

Pour VS 2015:
```posh
VSDevMode.ps1 14 -tsScript <chemin vers votre dossier>/node_modules/typescript/lib
```

Pour VS 2013:

```posh
VSDevMode.ps1 12 -tsScript <chemin vers votre dossier>/node_modules/typescript/lib
```

### IntelliJ IDEA (Mac)

Allez dans `Préférences` > `Langues & Frameworks` > `TypeScript` :

> Version TypeScript : Si vous avez installé avec npm : `/usr/local/lib/node_modules/typescript/lib`

### IntelliJ IDEA (Windows)

Allez dans `Fichier` > `Paramètres` > `Langues & Frameworks` > `TypeScript` :

> Version TypeScript : Si vous avez installé avec npm : `C:\Users\USERNAME\AppData\Roaming\npm\node_modules\typescript\lib`
14 changes: 14 additions & 0 deletions docs/documentation/fr/tutorials/Angular.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Angular
layout: docs
permalink: /fr/docs/handbook/angular.html
oneline: Utiliser Angular avec TypeScript
deprecated: true
---

Angular est un framework moderne entièrement construit en TypeScript et, par conséquent, l'utilisation de TypeScript avec Angular offre une expérience fluide.

La documentation d'Angular ne met pas seulement TypeScript au premier plan, mais l'utilise également comme langage principal.
Dans cet esprit, [le site d'Angular](https://angular.io) sera toujours la référence la plus à jour pour utiliser Angular avec TypeScript.

Consultez le [guide de démarrage rapide ici](https://angular.io/docs/ts/latest/quickstart.html) pour commencer à apprendre Angular maintenant !
26 changes: 26 additions & 0 deletions docs/documentation/fr/tutorials/React.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: React
layout: docs
permalink: /fr/docs/handbook/react.html
oneline: Liens pour en savoir plus sur TypeScript et React
translatable: true
---

TypeScript prend en charge [JSX](/docs/handbook/jsx.html) et peut modéliser correctement les conventions utilisées dans les bases de code React comme `useState`.

### Mise en place d'un projet React

Aujourd'hui, il existe de nombreux frameworks qui prennent en charge TypeScript indépendamment: :

- [Create React App](https://create-react-app.dev) - [TS docs](https://create-react-app.dev/docs/adding-typescript/)
- [Next.js](https://nextjs.org) - [TS docs](https://nextjs.org/learn/excel/typescript)
- [Gatsby](https://www.gatsbyjs.org) - [TS Docs](https://www.gatsbyjs.org/docs/typescript/)

Tous ces éléments sont d'excellents points de départ. Nous [utilisons Gatsby](https://www.gatsbyjs.org/blog/2020-01-23-why-typescript-chose-gatsby/#reach-skip-nav) avec TypeScript pour [ce site Web](https://github.com/microsoft/TypeScript-Website/), ce qui peut également être une implémentation de référence utile.

### Documentation

Voici quelques-uns des meilleurs endroits pour trouver des informations à jour sur React et TypeScript :

- [Aide-mémoire de React et TypeScript](https://react-typescript-cheatsheet.netlify.app)
- [React & Redux dans TypeScript](https://github.com/piotrwitek/react-redux-typescript-guide#react--redux-in-typescript---complete-guide)
2 changes: 1 addition & 1 deletion docs/documentation/id/reference/JSX.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Anda dapat menetapkan mode ini menggunakan _flag_ baris perintah `--jsx` atau op

> \*Catatan: Anda dapat menentukan fungsi _factory_ JSX yang akan digunakan saat menargetkan react JSX _emit_ dengan opsi `--jsxFactory` (nilai bawaan ke `React.createElement`)

## Opeartor `as`
## Operator `as`

Ingat bagaimana menulis penegasan tipe:

Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/ko/project-config/Project References.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ assert.areEqual(converter.celsiusToFahrenheit(0), 32);

이전에는, 단일 tsconfig 파일을 사용한 경우 이 구조가 어색하게 동작했습니다:

* 구현 파일을 테스트 파일에 import 하는 것이 가능합니다
* 구현 파일에서 테스트 파일을 import 하는 것이 가능합니다
* 아마도 원치 않았겠지만 `src`가 출력 폴더 이름에 나타나지 않고는 `test`와 `src`를 동시에 빌드 하는 것이 불가능합니다
* 구현 파일 안에 *내용물* 만 바꿔도 새로운 오류를 절대 발생시키지 않지만 테스트 파일에 대한 *타입 검사*를 다시 해야 합니다
* 테스트 파일만 바꿔도 아무 변화 없지만 구현 파일의 타입 검사를 다시 해야 합니다
Expand Down
Loading