Skip to content

Commit db8089d

Browse files
committed
Update: tsconfig.json
1 parent 8e9c813 commit db8089d

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

β€Žpages/tsconfig.json.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
## Overview
1+
## κ°œμš”
22

3-
The presence of a `tsconfig.json` file in a directory indicates that the directory is the root of a TypeScript project.
4-
The `tsconfig.json` file specifies the root files and the compiler options required to compile the project.
5-
A project is compiled in one of the following ways:
3+
디렉토리에 `tsconfig.json` 파일이 μ‘΄μž¬ν•œλ‹€λŠ” 것은 ν•΄λ‹Ή 디렉토리가 TypeScript ν”„λ‘œμ νŠΈμ˜ λ£¨νŠΈμž„λ₯Ό λ‚˜νƒ€λƒ…λ‹ˆλ‹€.
4+
`tsconfig.json` νŒŒμΌμ€ ν”„λ‘œμ νŠΈλ₯Ό μ»΄νŒŒμΌν•˜λŠ” 데 ν•„μš”ν•œ 루트 파일과 컴파일러 μ˜΅μ…˜μ„ μ§€μ •ν•©λ‹ˆλ‹€.
65

7-
## Using tsconfig.json
6+
ν”„λ‘œμ νŠΈλŠ” λ‹€μŒ 방법 쀑 ν•˜λ‚˜λ‘œ μ»΄νŒŒμΌλ©λ‹ˆλ‹€:
7+
8+
## tsconfig.json μ‚¬μš© (Using tsconfig.json)
89

910
* By invoking tsc with no input files, in which case the compiler searches for the `tsconfig.json` file starting in the current directory and continuing up the parent directory chain.
1011
* By invoking tsc with no input files and a `--project` (or just `-p`) command line option that specifies the path of a directory containing a `tsconfig.json` file, or a path to a valid `.json` file containing the configurations.
1112

12-
When input files are specified on the command line, `tsconfig.json` files are ignored.
13+
μ»€λ§¨λ“œ 라인에 μž…λ ₯ νŒŒμΌμ„ μ§€μ •ν•˜λ©΄ `tsconfig.json` 파일이 λ¬΄μ‹œλ©λ‹ˆλ‹€.
1314

14-
## Examples
15+
## 예제
1516

16-
Example `tsconfig.json` files:
17+
`tsconfig.json` 예제 νŒŒμΌλ“€:
1718

18-
* Using the `"files"` property
19+
* `"files"` 속성 μ‚¬μš©
1920

2021
```json
2122
{
@@ -44,7 +45,7 @@ Example `tsconfig.json` files:
4445
}
4546
```
4647

47-
* Using the `"include"` and `"exclude"` properties
48+
* `"include"` 및 `"exclude"` 속성 μ‚¬μš©
4849

4950
```json
5051
{
@@ -68,17 +69,18 @@ Example `tsconfig.json` files:
6869

6970
## Details
7071

71-
The `"compilerOptions"` property can be omitted, in which case the compiler's defaults are used. See our full list of supported [Compiler Options](./Compiler Options.md).
72+
`"compilerOptions"` 속성은 μƒλž΅λ  수 있으며 이 경우 컴파일러의 κΈ°λ³Έ 값이 μ‚¬μš©λ©λ‹ˆλ‹€.
73+
μ§€μ›λ˜λŠ” [컴파일러 μ˜΅μ…˜](./Compiler Options.md)의 전체 λͺ©λ‘λ³΄κΈ°
7274

73-
The `"files"` property takes a list of relative or absolute file paths.
74-
The `"include"` and `"exclude"` properties take a list of glob-like file patterns.
75-
The supported glob wildcards are:
75+
`"files"` 속성은 μƒλŒ€μ μ΄κ±°λ‚˜ μ ˆλŒ€μ μΈ 파일 경둜 λͺ©λ‘μ„ κ°–μŠ΅λ‹ˆλ‹€.
76+
`"include"`와 `"exclude"`λŠ” glob 파일 νŒ¨ν„΄μ˜ λͺ©λ‘κ³Ό 같은 속성을 κ°–μŠ΅λ‹ˆλ‹€.
77+
μ§€μ›λ˜λŠ” glob μ™€μΌλ“œμΉ΄λ“œλŠ” λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€:
7678

77-
* `*` matches zero or more characters (excluding directory separators)
78-
* `?` matches any one character (excluding directory separators)
79-
* `**/` recursively matches any subdirectory
79+
* `*` 0개 μ΄μƒμ˜ λ¬Έμžμ™€ λ§€μΉ­ (디렉토리 separator μ œμ™Έ)
80+
* `?` ν•œ λ¬Έμžμ™€ λ§€μΉ­ (디렉토리 separator μ œμ™Έ)
81+
* `**/` 반볡적으둜 λͺ¨λ“  ν•˜μœ„ 디렉토리와 λ§€μΉ­
8082

81-
If a segment of a glob pattern includes only `*` or `.*`, then only files with supported extensions are included (e.g. `.ts`, `.tsx`, and `.d.ts` by default with `.js` and `.jsx` if `allowJs` is set to true).
83+
glob νŒ¨ν„΄μ˜ ꡬ뢄에 `*` λ˜λŠ” `. *`만 μžˆλŠ” 경우, μ§€μ›ν•˜λŠ” ν™•μž₯자 파일만 ν¬ν•¨λ©λ‹ˆλ‹€ (예: κΈ°λ³Έμ μœΌλ‘œλŠ” `.ts`, `.tsx` 및 `.d.ts` / `allowJs` true둜 μ„€μ •μ‹œ `.js`와 `.jsx`).
8284

8385
If the `"files"` and `"include"` are both left unspecified, the compiler defaults to including all TypeScript (`.ts`, `.d.ts` and `.tsx`) files in the containing directory and subdirectories except those excluded using the `"exclude"` property. JS files (`.js` and `.jsx`) are also included if `allowJs` is set to true.
8486
If the `"files"` or `"include"` properties are specified, the compiler will instead include the union of the files included by those two properties.

0 commit comments

Comments
Β (0)