{"provider_name":"Hatena Blog","blog_title":"samehada3\u306e\u65e5\u8a18","author_name":"samehada3","categories":["TypeScript"],"author_url":"https://blog.hatena.ne.jp/samehada3/","type":"rich","url":"https://samehada3.hatenadiary.org/entry/2021/05/09/234753","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsamehada3.hatenadiary.org%2Fentry%2F2021%2F05%2F09%2F234753\" title=\"Type Alias\u306b\u3064\u3044\u3066 - samehada3\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_url":"https://hatena.blog","description":"Type Alias \u518d\u5229\u7528\u3057\u305f\u3044\u578b\u306b\u5bfe\u3057\u3066\u540d\u524d\u3092\u3064\u3051\u3066\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f type User = { id: number, name: string }; const u: User = { id: 1, name: \"Jack\" }; \u4ea4\u5dee\u578b\u3067\u62e1\u5f35 \u4ea4\u5dee\u578b\u3092\u4f7f\u3048\u3070\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306e\u7d99\u627f\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u3067\u304d\u308b type GooType = { goo: number; }; type FooType = { foo: string; }; type HogeType = GooType & FooType; const a: HogeType = { goo: 1, foo: \"abc\" }\u2026","blog_url":"https://samehada3.hatenadiary.org/","published":"2021-05-09 23:47:53","width":"100%","version":"1.0","title":"Type Alias\u306b\u3064\u3044\u3066","height":"190"}