{"provider_name":"Hatena Blog","image_url":null,"version":"1.0","url":"https://memory-lovers.blog/entry/2020/01/16/073000","published":"2020-01-16 07:30:00","blog_url":"https://memory-lovers.blog/","provider_url":"https://hatena.blog","title":"Express+TypeScript\u3092\u306f\u3058\u3081\u308b\u3068\u304d\u306b\u3084\u3063\u305f\u3053\u3068","categories":["TypeScript","Express","Node.js"],"author_name":"wannabe-jellyfish","height":"190","blog_title":"\u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002","author_url":"https://blog.hatena.ne.jp/wannabe-jellyfish/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2020%2F01%2F16%2F073000\" title=\"Express+TypeScript\u3092\u306f\u3058\u3081\u308b\u3068\u304d\u306b\u3084\u3063\u305f\u3053\u3068 - \u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Express\u3067\u30b5\u30fc\u30d0\u7acb\u3066\u305f\u3044\u306a\u3068\u601d\u3063\u305f\u306e\u3067\u3001 TypeScript\u3067\u306f\u3058\u3081\u308b\u3068\u304d\u306b\u3084\u3063\u305f\u3053\u3068\u306e\u5099\u5fd8\u9332\u3002 TypeScript\u306e\u8a2d\u5b9a \u307e\u305a\u306f\u3001package.json\u304b\u3089\u3002 # package.json\u306e\u751f\u6210 $ npm init # typescript\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb $ npm i -D typescript @types/node # \u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d $ npx tsc -v # ts\u521d\u671f\u5316: tsconfig.json\u751f\u6210 $ npx tsc --init tsconfig.json\u306e\u8a2d\u5b9a\u3059\u308b\u3002 // tsconfig.json { \"compilerOptions\": { \"targ\u2026","type":"rich"}