{"provider_name":"Hatena Blog","height":"190","author_name":"tee-talog","width":"100%","blog_url":"https://www.tee-talog.com/","published":"2019-08-18 11:35:49","version":"1.0","categories":["TypeScript","JavaScript"],"image_url":null,"url":"https://www.tee-talog.com/entry/2019/08/18/113549","provider_url":"https://hatena.blog","blog_title":"\u3072\u3073\u306e\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/tee-talog/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.tee-talog.com%2Fentry%2F2019%2F08%2F18%2F113549\" title=\"\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4e2d\u3067\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u62e1\u5f35\u3057\u305f\u304b\u3063\u305f\u3093\u3067\u3059\u3088 - \u3072\u3073\u306e\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30bf\u30a4\u30c8\u30eb\u306e\u3068\u304a\u308a\u3067\u3001TypeScript \u3092\u3042\u308b\u7a0b\u5ea6\u3084\u3063\u3066\u3044\u308b\u4eba\u306a\u3089\u5f53\u7136\u306e\u3053\u3068\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3002 interface \u306e\u62e1\u5f35 TS \u306e interface \u3063\u3066\u62e1\u5f35\u3067\u304d\u308b\u3058\u3083\u306a\u3044\u3067\u3059\u304b\u3002 interface Foo { bar: string } interface Foo { baz: number } /* // \u7d50\u679c Foo: { bar: string baz: number } */ \u3053\u3093\u306a\u611f\u3058\u3067\u3002 \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u578b\u5b9a\u7fa9 \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u578b\u5b9a\u7fa9\u3063\u3066\u3067\u304d\u308b\u3058\u3083\u306a\u3044\u3067\u3059\u304b\u3002 declare module 'module-name' { interface Foo { bar: string } \u2026","type":"rich","title":"\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4e2d\u3067\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u62e1\u5f35\u3057\u305f\u304b\u3063\u305f\u3093\u3067\u3059\u3088"}