Skip to content
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

Translate 2 files to ko #1440

Merged
merged 7 commits into from
Jan 3, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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`는 좋은 선택입니다.
만약 코드가 이전 환경에서 배포된 경우라면 더 낮은 대상을, 최신 환경에서 실행이 보장되는 경우 더 높은 대상을 선택할 수 있습니다.
Begachu marked this conversation as resolved.
Show resolved Hide resolved

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

`target`으로 바꾼다는 것은 마찬가지로 [`lib`](#lib)의 기본값을 바꿉니다.
Begachu marked this conversation as resolved.
Show resolved Hide resolved
원하는 대로 `target` 및 `lib` 설정을 "혼합 및 일치"할 수 있지만, 편의를 위해 `target`만 설정할 수 있습니다.
Begachu marked this conversation as resolved.
Show resolved Hide resolved

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

특수 `ESNet` 값은 사용자 버전의 TypeScript가 지원하는 가장 높은 버전을 나타냅니다.
Begachu marked this conversation as resolved.
Show resolved Hide resolved
이 설정은 TypeScript 버전과 같다는 것을 의미하는 것이 아니며 업그레이드 예측 가능성을 낮출 수 있으므로 주의해야 합니다.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
이 설정은 TypeScript 버전과 같다는 것을 의미하는 것이 아니며 업그레이드 예측 가능성을 낮출 수 있으므로 주의해야 합니다.
이 설정은 서로 다른 TypeScript 버전간에 동일한 의미가 아니며, 업그레이드를 예측하기 어렵게 만들 있으므로 주의해서 사용해야 합니다.

[제안]

10 changes: 10 additions & 0 deletions packages/tsconfig-reference/copy/ko/options/traceResolution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
display: "Trace Resolution"
oneline: "Log paths used during the `moduleResolution` process."
---

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

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