TypeScript 4.7 ããªãªã¼ã¹ãããã®ã§ãNode.js ESM 対å¿ã®ç¾ç¶ãã¾ã¨ãã¦ããã @teppeis ããã® TypeScript 4.5 以é㧠ESM 対å¿ã¯ã©ããªãã®ãï¼ ãå ã«èªãã§ããã¨ã以éã®è©±ãèªã¿é²ããããããã ãã®ã¨ã³ããªã®ä¸ã§ããteppeis ããã®å®ç¾©ããç¨èªããã®ã¾ã¾ç¨ãããã¦ãããã * CommonJS (CJS): å¾æ¥å¼ã® Node.js CommonJS ã§æ¸ããããã¡ã¤ã«ã¾ãã¯ããã±ã¼ã¸ * ES Modules (ESM): ES2015 ã§å®ç¾©ãããã¢ã¸ã¥ã¼ã«ä»æ§ãNode.js ã§ã¯ v12 以éã§ãã¤ãã£ãã«ãµãã¼ãããã¦ããã * Native ESM: ESM å½¢å¼ã§è¨è¿°ããããã¡ã¤ã«ããNode.js ã¾ãã¯ãã©ã¦ã¶ã§ç´æ¥ ESM ã¨ãã¦å®è¡ããæ¹å¼ã¾ãã¯ãã®ãã¡ã¤ã«ãæ¬ä¼¼ ESM ã¨åºå¥ããããã« Native ã¨
{{#tags}}- {{label}}
{{/tags}}