{"author_name":"motomichi_works","description":"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u578b\u3092\u5b9a\u7fa9\u3059\u308b \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3057\u307e\u3057\u305f\u3002 type MyObjA = { a1: string; a2: string } type MyObjB = { b1: string; b2: string } type MyObjC = { c1: string; c2: string } type MyObjUnion = MyObjA | MyObjB | MyObjC type MyObjAnd = MyObjA & MyObjB & MyObjC \u5b9a\u7fa9\u3057\u305fMyObjUnion\u578b\u3092\u4f7f\u3063\u3066\u307f\u308b \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f\u3002 const myObj1: MyObjUni\u2026","published":"2021-06-01 01:18:10","image_url":null,"provider_url":"https://hatena.blog","version":"1.0","url":"https://motomichi-works.hatenablog.com/entry/2021/06/01/011810","blog_url":"https://motomichi-works.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotomichi-works.hatenablog.com%2Fentry%2F2021%2F06%2F01%2F011810\" title=\"TypeScript\u5b66\u7fd2\u65e5\u8a18 \u305d\u306e0006 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u578b\u3092\u8907\u6570\u5b9a\u7fa9\u3057\u3066|\u3067\u5408\u308f\u305b\u305f\u308a&amp;\u3067\u5408\u308f\u305b\u305f\u308a\u3057\u3066\u307f\u308b(union\u578b\u3068intersection\u578b) - Motomichi Works Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/motomichi_works/","title":"TypeScript\u5b66\u7fd2\u65e5\u8a18 \u305d\u306e0006 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u578b\u3092\u8907\u6570\u5b9a\u7fa9\u3057\u3066|\u3067\u5408\u308f\u305b\u305f\u308a&\u3067\u5408\u308f\u305b\u305f\u308a\u3057\u3066\u307f\u308b(union\u578b\u3068intersection\u578b)","blog_title":"Motomichi Works Blog","height":"190","type":"rich","width":"100%","categories":["\u5236\u4f5c","typescript","typescript\u5b66\u7fd2\u65e5\u8a18"]}