Giter Site home page Giter Site logo

typescript's Introduction

타입스크립트 퀵스타트

소스 코드 환경

  • 타입스크립트 : 2.7.2
  • Node.js : 8.9.4
  • ts-node : 3.3.0

정오표

  • 2쪽, 그림 1-1

    • ES6의 출시 년도 2013 => 2015
  • 100쪽, 아래서 3번째 줄 중간

    • 40 (10 * 22) => 40 (10 * 2 * 2)
  • 104쪽, 그림 3-8 마지막 줄

    • number2.notExistMethod(); => number.notExistMethod();
  • 174쪽, 예제 6-11 제목 (화살표 함수와 관계 없음)

    • 활살표 함수에서 this 사용 => 함수에서 this 사용
  • 180쪽, 첫 예제 첫 줄 반환 타입 설정

    • (message: string) => void; => (message: string) => string;
  • 180쪽, 예제 6-13 2번째 줄 반환 타입 설정

    • (message: string) => void; => (message: string) => string;
  • 180쪽, 마지막 예제 첫 줄 반환 타입 설정

    • (message: string) => void; => (message: string) => string;
  • 244쪽, 예제 7-25 두번째 줄 생성자

    • private EagerLogger() { } => private constructor() { }
  • 245쪽, 예제 7-26 여섯번째 줄 생성자

    • private EagerLogger() { } => private constructor() { }
  • 282쪽 두번째 예제 소스코드 경로

    • ch8/module/src/module/re-exports/my-cars.ts => ch8/module/src/module/re-exports/engine.ts
  • 343쪽, 그림 10-1의 왼쪽 그림과 오른쪽 그림

    • let myNum:any = "2017"; => let myNum= "2017";
  • 520쪽, 2번째 줄

    • "데이터를 있는 그대로 출력합니다." => "HTML을 제거해 데이터를 출력합니다"
  • 520쪽, 3번째 줄

    • <%=listHTML%> => <%-listHTML%>

보완 설명

  • 197쪽 예제7-4
    • get/set 접근자는 ES5로 표현되기 어려워 ES5이하로 컴파일이 지원되지 않습니다.
  • 367쪽 예제11-4
    • TS 2.0.0에서 concat4함수의 "return strs + strs2;"에 대한 주석을 해제하면 T+T 연산 오류가 있습니다.
    • 그러나 2.1 버전 이후에는 T+T 연산 오류가 없음을 안내드립니다.
    • 컴파일러 버전에따른 타입 검사 방식 변경이 있을 수 있는데 관련설명은 111쪽을 참고해 주시길 부탁드립니다.

타입스크립트 최근 소식

타입스크립트와 관련해 읽을 만한 글

타입스크립트 주요 사이트

typescript's People

Contributors

happygrammer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.