Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
506a69b
add ko translation for baseUrl.md
sodaMelon Sep 21, 2020
0a47955
add ko translation for charset.md
sodaMelon Sep 21, 2020
fbab713
add ko translation for Hello World.ts
sodaMelon Sep 21, 2020
de82e79
remove the space between 'play' and 'ground'
sodaMelon Sep 23, 2020
bbb2b47
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
c2793d6
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
b3e98b0
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
155c516
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
91223fd
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
3c56b3c
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
cffbbc4
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
eda6c8a
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
f1f575e
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
8d39373
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
7802c0c
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
17ecd63
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
bbf574f
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
2998468
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon Sep 30, 2020
3c81a7a
Update packages/tsconfig-reference/copy/ko/options/baseUrl.md
sodaMelon Sep 30, 2020
6934566
Update packages/tsconfig-reference/copy/ko/options/charset.md
sodaMelon Sep 30, 2020
89ad5bb
Update packages/tsconfig-reference/copy/ko/options/charset.md
sodaMelon Sep 30, 2020
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//// { order: 0, compiler: { target: 1 } }

// TypeScript 플레이그라운드에 오신 것을 환영합니다.
// 이 웹 사이트는 TypeScript를 웹 브라우저에서 실행하는 것과 거의 비슷합니다.
Comment thread
sodaMelon marked this conversation as resolved.
Resolved

// 플레이그라운드에서는 이러한 프로젝트를 공유하는 것을
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// 간단한 일로 만들었기 때문에, TypeScript로 아이디어를
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// 쉽고 안전하게 실험할 수 있습니다. 다른 사람에게 프로젝트를
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// 공유할 때 필요한 것은, 이 페이지의 URL이 전부입니다.
Comment thread
sodaMelon marked this conversation as resolved.
Resolved

const hello = "Hello";

// 오른쪽에서 TypeScript 컴파일러의 결과를 볼 수
// 있습니다. : 이것은 브라우저나 서버는 물론, 어디에서나
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// 실제로 실행할 수 있는 바닐라 JavaScript입니다.
Comment thread
sodaMelon marked this conversation as resolved.
Resolved

const world = "World";

// "const"를 "var"로 변환하는 것으로, 코드에 작은 변화가
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// 생기는 것을 볼 수 있습니다. 이것은 TypeScript를
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// JavaScript가 실행되는 모든 곳에서 실행할 수 있게 하려고
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// 수행하는 많은 작업 중 하나입니다.

console.log(hello + " " + world);

// 이제 플레이그라운드가 어떻게 동작하는지 아이디어를 얻었으니,
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// TypeScript가 JavaScript 작업을 더 즐겁게 만드는 방법을 알아봅시다.
// 이 부분에서는, 어떻게 기존지식을 재사용할 수 있는지
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// 보여주기 위해, 가능한 한 바닐라 JavaScript에
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
// 가깝게 유지하도록 하겠습니다.
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
//
// 계속하려면 아래를 클릭하세요:
//
// example:objects-and-arrays
27 changes: 27 additions & 0 deletions packages/tsconfig-reference/copy/ko/options/baseUrl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
display: "Base Url"
oneline: "Set a baseurl for relative module names"
---

절대 경로 참조가 아닌 모듈 이름을 해결하기 위한 기본 디렉터리를 설정할 수 있습니다.

절대 경로로 해결하기 위한 루트 폴더를 정의할 수도 있습니다. 예를 들면,

```
baseUrl
├── ex.ts
├── hello
│ └── world.ts
└── tsconfig.json
```

이 프로젝트에서` "baseUrl": "./"`을 사용하면, TypeScript는`tsconfig.json`과 같은 폴더에서 시작하는 파일을 찾습니다.

```ts
import { helloWorld } from "hello/world";

console.log(helloWorld);
```

항상 사용하는 `"../"` 또는 `"./"`같은 import에 질렸거나, 파일을 이동해서 변경해야 할 때,
그런 문제들을 고칠 수 있는 위한 좋은 방법입니다.
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
7 changes: 7 additions & 0 deletions packages/tsconfig-reference/copy/ko/options/charset.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
display: "Charset"
oneline: "Manually set the text encoding for reading files"
---

이전 TypeScript 버전에서는, 디스크에서 텍스트 파일을 읽을 때 어떤 인코딩이 사용되었는지를 제어했습니다.
Comment thread
sodaMelon marked this conversation as resolved.
Resolved
오늘날 TypeScript는 UTF-8 인코딩을 전제로 합니다. 하지만 UTF-16 (BE 와 LE) 또는 UTF-8 BOMs도 정확하게 감지합니다.
Comment thread
sodaMelon marked this conversation as resolved.
Resolved