Comments (7)
위의 문제와 관련있는 코드라인은 다음과 같습니다.
```ts twoslash
// @errors: 2551
const obj = { width: 10, height: 15 };
const area = obj.width * obj.heigth;
```
### A Typed Superset of JavaScript
How does TypeScript relate to JavaScript, though?
#### Syntax
TypeScript is a language that is a _superset_ of JavaScript: JS syntax is therefore legal TS.
Syntax refers to the way we write text to form a program.
For example, this code has a _syntax_ error because it's missing a `)`:
```ts twoslash
// @errors: 1005
let a = (4
```
from typescript-kr.github.io.
아마 gitbook-cli 에서 code block에 twoslash
를 파싱하지 못해 생기는 오류같아요.
해당 code block에 twoslash
를 제거하면 제대로 보일 것 같습니다.
번역하면서 같이 수정해주시겠어요?😃
from typescript-kr.github.io.
해당 내용 적용하니 마크다운은 적용되지만, 다음과 같이 마크다운에 적용되는 스타일은 없어지게 되네요. 어떻게 해야할까요?
아 또한 추가적인 질문이 있습니다!
추가한 이미지에서 볼 수 있듯이, 타입스크립트 영문 핸드북의 동일한 문서는 이슈에 제가 업로드한 이미지와 다르게 오류 부분에 대한 내용이 자세히 나와있는 것을 볼 수 있습니다.
해당 내용을 위의 @errors: 1005
와 같은 부분을 갈음해서 번역하면 될까요?
from typescript-kr.github.io.
최대한 빨리 해결해야겠네요...
일단 @errors: 1005
는 남겨놓는게 어떨까요?
전 나중에 twoslash 적용이 될 때
다시 바꾸거나 추가하는 것보다 일단은 있는게 나을 것 같습니다.
from typescript-kr.github.io.
일단
@errors: 1005
는 남겨놓는게 어떨까요?전 나중에 twoslash 적용이 될 때
다시 바꾸거나 추가하는 것보다 일단은 있는게 나을 것 같습니다.
동의합니다 :)
from typescript-kr.github.io.
최대한 빨리 해결해야겠네요...
일단@errors: 1005
는 남겨놓는게 어떨까요?전 나중에 twoslash 적용이 될 때
다시 바꾸거나 추가하는 것보다 일단은 있는게 나을 것 같습니다.
현재 상황에서 ts-twoslasher를 해결하기는 어려우니 파싱에러만 해결하고 일단 남기는것에 동의합니다 추후 수정할 때가 왔을 때 그게 더 편할 것 같네요
from typescript-kr.github.io.
해당 이슈는 일정 해결된걸로 보고 클로즈하겠습니다 :)
from typescript-kr.github.io.
Related Issues (20)
- Babel with TypeScript 번역 HOT 1
- Intro to JS with TS 번역 HOT 1
- JSDoc Reference 번역 HOT 3
- Creating DTS from JS 번역 HOT 3
- The Handbook 번역 HOT 6
- github action build 시 발생하는 오류 HOT 2
- interfaces.md 오타 및 조사 오류
- Pull Request template에 관한 건의 HOT 4
- TypeScript 4.0 번역 HOT 4
- basic-types.md 오타 수정 및 번역 개선
- 메인화면 프로필이 짤려보여요. HOT 2
- Path Mapping 번역 오류 제보 HOT 4
- ts-for-js-programmers.md 오타
- unions-and-intersections 잘못된 링크
- literal types 문서 업데이트에 따른 재번역 필요
- ts-for-functional-programmers.md 번역 수정 HOT 2
- MixIn 오타
- letterRegexp 오타 | 네임스페이스 적용하기
- TS for JS Programmers 페이지 내 설정된 404 링크 제보드려요 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-kr.github.io.