Skip to content

1st commit: Issue #110(Intro to JS with TS) 번역 #146

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 4 commits into from
Sep 1, 2020
Merged
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
Prev Previous commit
Update pages/intro-to-js-with-ts.md
Co-authored-by: Seohee Park <dvlprsh103@gmail.com>
  • Loading branch information
guyeol and dvlprsh authored Sep 1, 2020
commit d918092e9b377f7a0145b57fde5f87b2ec3100dd
2 changes: 1 addition & 1 deletion pages/intro-to-js-with-ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ x = false; // 성공?!
이전 코드 예시의 마지막 줄은 TypeScript에서 오류를 발생시키지만, JS 프로젝트에서는 기본적으로 오류를 발생시키지 않습니다.
JavaScript 파일에서 오류를 실행하려면 다음을 추가해야 합니다: `.js` 파일의 첫 번째 줄에 `// @ts-check`를 추가하여 TypeScript가 이를 오류로 올리도록 해야 합니다.

```js twoslash
```js
// @ts-check
// @errors: 2322
/** @type {number} */
Expand Down