Skip to content

Translate 2 files to ko #1440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 18 additions & 0 deletions packages/tsconfig-reference/copy/ko/options/target.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
display: "Target"
oneline: "Set the JavaScript language version for emitted JavaScript and include compatible library declarations."
---

최신 브라우저는 모든 ES6 기능을 지원하므로 `ES6`는 좋은 선택입니다.
만약 코드가 이전 환경에서 배포된 경우라면 더 낮은 버전을, 최신 환경에서 실행이 보장되는 경우 더 높은 버전을 선택할 수 있습니다.

`target` 설정은 하향 평준화된 JS 기능과 온전히 남아있는 것을 변경합니다.
예를 들어 `target`이 ES5 이하인 경우, 화살 함수 `() => this`는 동등한 `function` 표현식으로 바뀝니다.

`target`을 바꾼다는 것은 마찬가지로 [`lib`](#lib)의 기본값을 바꿉니다.
원하는 대로 `target` 및 `lib` 설정을 "믹스 앤 매치" 할 수 있지만, 편의를 위해 `target`만 설정할 수 있습니다.

Node와 같은 개발자 플랫폼의 경우 버전에 따라 대상에 대한 특정 기준이 있습니다. [tsconfig/bases](https://github.com/tsconfig/bases#centralized-recommendations-for-tsconfig-bases)에서 공통 플랫폼 및 해당 버전에 대한 커뮤니티 구성 TSConfig 세트를 찾을 수 있습니다.

`ESNext` 값은 특별하게 TypeScript가 지원하는 가장 높은 버전을 나타냅니다.
이 설정은 TypeScript 버전과 같다는 것을 의미하는 것이 아니며 업그레이드 예측 가능성을 낮출 수 있으므로 주의해야 합니다.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
display: "Trace Resolution"
oneline: "Log paths used during the `moduleResolution` process."
---

사용자가 모듈이 포함되지 않은 이유를 디버깅하고자 할 때.
`traceResolutions`를 `true`로 설정하여 처리된 각 파일의 처리 과정에 대한 TypeScript 출력 정보를 얻을 수 있습니다.

[핸드북](/docs/handbook/module-resolution.html#tracing-module-resolution)에서 이에 대한 자세한 내용을 볼 수 있습니다.