-
Notifications
You must be signed in to change notification settings - Fork 130
#6 Translate Automatic Type Acquisition to korean #115
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
Open
yahma25
wants to merge
1
commit into
microsoft:main
Choose a base branch
from
yahma25:Translation-to-ko-playground-Automatic-Type-Acquisition
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
docs/playground/ko/Playground/Language/Automatic Type Acquisition.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,34 @@ | ||||||
// 자동 타입 취득은 TypeScript가 npm 내부에 있는 | ||||||
// @types에서 타입 정의를 가져와 JavaScript 사용자에게 | ||||||
// 더 나은 사용자 경험을 제공하기 위한 방법을 의미하는 용어입니다. | ||||||
|
||||||
// 이제 playground는 TypeScript에 내장된 | ||||||
// 타입 취득 처리와 비슷한(약간 더 제한적이지만) | ||||||
// 버전이 있습니다. | ||||||
|
||||||
// 코드에 import를 만들어서 사용할 수 있습니다. | ||||||
// 자동 타입 취득은 DefinitelyTyped에서 @types를 통하거나 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
// 자체적으로 의존성 내부에 있는 d.ts 파일을 이용하여 동작합니다. | ||||||
|
||||||
import { danger } from "danger"; | ||||||
|
||||||
// 내장된 타입에서 연관된 JSDoc을 보기 위해 | ||||||
// 아래의 식별자를 강조하세요: | ||||||
|
||||||
danger.github; | ||||||
|
||||||
// 이건 연속적으로 변화하는 의존성도 처리하므로 | ||||||
// 이 경우 danger는 @octokit/rest에도 의존합니다. | ||||||
|
||||||
danger.github.api.pulls.createComment(); | ||||||
|
||||||
// 타입 취득은 노드의 내장된 모듈도 고려하며 | ||||||
// 그런 의존성을 사용할 때 | ||||||
// 노드의 타입 선언을 가져옵니다. | ||||||
// 다운로드 할 타입이 많이 있으니 | ||||||
// 다른 것보다 약간 더 오래 걸리는 경향이 있다는 것을 알아두세요! | ||||||
|
||||||
import { readFileSync } from "fs"; | ||||||
|
||||||
const inputPath = "my/path/file.ts"; | ||||||
readFileSync(inputPath, "utf8"); |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[제안]
취득 vs 획득
확 끌리는 단어가 없네요 ㅎㅎ�