coding- w00se

  • 홈
  • 태그
  • 방명록

타입 1

[Typescript] Typescript 타입

Typescript는 정적 타입 언어로 변수의 타입이 컴파일할 때 결정됩니다. 따라서 타입 오류를 컴파일 타임에 확인할 수 있는 장점이 있습니다. 오늘은 Typescript에서 사용되는 타입에 대해 정리를 해보았습니다. 원시 타입 - string: 문자열 - number: 숫자 - boolean: 논리 * javascript에서는 int와 float에 대응되는 타입이 없으며, 모두 number을 사용한다고 합니다. const str1: string = "hello"; const num1: number = 123; const num2: number = 123.123; const bool1: boolean = true; console.log(str1); console.log(num1); console.log..

Programming/TS 2021.06.15
1
더보기
프로필사진

공부한 내용을 정리하는 블로그입니다.

  • 분류 전체보기 (103)
    • PS (47)
      • Python (46)
      • Mysql (1)
    • CS (1)
      • Web (1)
    • Programming (19)
      • JS (11)
      • TS (5)
      • Python (2)
    • Frontend (20)
      • React-Native (13)
      • React (4)
    • Test (2)
    • Data (0)
    • Project (2)
      • ATSAY (2)
    • Retrospect (8)

Tag

javascript, 프로그래머스, 구현, plugin, programmers, 너비 우선 탐색, 카카오, python, 백준, BFS, Animated, react, typescript, CYPRESS, 코딩테스트, 기초, webpack, React Native, 파이썬, baekjoon,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바