TypeScript ãä»ã®éçåä»ãè¨èªã¨æ±ºå®çã«éãã®ã¯ãå®ä½ã¯ JavaScript ã§ãããTypeScript ã®ã³ã³ãã¤ã©ãã©ããã£ã¦é»ãããã¨ããã§å®è¡æã®å㯠JavaScript ã®åã«ãããããªããTypeScript ã§æ¸ããåã¯å®è¡æã«ã¯ãªããå½±é¿ããããããªããã¨ããç¹ã§ããã
ã¤ã¾ã TypeScript ã§ããã®ãªãã¸ã§ã¯ãã¯ãããããã©ã¡ã¼ã¿ãæã£ã¦ãã¦ããã«æ¸ãã¦ããªããã©ã¡ã¼ã¿ã¯æã£ã¦ããªããã¨ãããããªæå³ã§ interface ãªã type ãªããå®ç¾©ããã¨ããã§ãå®è¡æã® JavaScript ã¯ãæã£ã¦ãã¦ã»ãããã©ã¡ã¼ã¿ãæã£ã¦ããªãããã¨ããæã£ã¦ãã¦ã»ãããªããã©ã¡ã¼ã¿ãæã£ã¦ããããã¨ãããããããããããã¾ã£ããå¥ã®åããã¨ãã°æååãæ°å¤ãçå½å¤åã§ãããã¨ãããããããTypeScript ã³ã³ãã¤ã©ã¯éç解æãè¡ã£ã¦ãããããããããªããã®ãæ¤ç¥ãã¦ã¨ã©ã¼ãéç¥ãã¦ããããããå®è¡æã«ãã®ãããªãã¨ãèµ·ãããã¨ãé¿ãããã¦ããã ãã§ãåå®ç¾©ããèªä½ã JavaScript ã®å®è¡æã®åã決å®ãããã®ã§ã¯æ±ºãã¦ãªãã
ãããä¸ã® TypeScript ã®åå®ç¾©ãè¦ã¦ããã¨ãã¡ããã¡ãããå¤é¨ã¤ã³ã¿ãã§ã¼ã¹å®ç¾©ããæå¾ ãããã®ã«åºãããããããããã¨ãã°ããã¯ã©ã¹ã«ã¤ãã¦ãå é¨å¤æ°ãåå®ç¾©ã«æ¸ãã¦ãªãã¨ãããã¨ããããããã®ã¯ã©ã¹ãæ¡å¼µããã¯ã©ã¹ãä½ãã¨ãã«ã¯ãã®å é¨å¤æ°ã¯æ¬å½ã¯åæ å ±ã¨ãã¦è¦ãã¦ã»ããã¯ãã§ããã
TypeScript ã®åå®ç¾©ã¯å®è£ ãåæ ããåãæ¸ãã¹ãã§ãããããã¹ãã¨ããä»æ§ãæ¸ããã®ã§ã¯ãªãããããå¿ããªãããã«ãããããTypeScript ã§åå®ç¾©ãæ¸ãä¸ã®äººã«ãå¿ããªãã§ãã¦ã»ããã
ãã¡ãããã¯ä»¥ä¸ã§ãã