{"url":"https://hepokon365.hatenablog.com/entry/2022/07/31/233039","image_url":null,"type":"rich","description":"TypeScript\u306einterface\u3084type\u3067\u3001\u95a2\u6570\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u578b\u3092\u5b9a\u7fa9\u3059\u308b\u969b\u3001\u3069\u3093\u306a\u66f8\u304d\u65b9\u3092\u3059\u308c\u3070\u3044\u3044\u304b\u3061\u3087\u3053\u3061\u3087\u3053\u8ff7\u3046\u306e\u3067\u30e1\u30e2\u3002 \u95a2\u6570 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 Union\u578b\u3092\u30ad\u30fc\u3068\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u632f\u308a\u8fd4\u308a \u95a2\u6570 number\u3092\u5f15\u6570\u306b\u53d6\u308a\u3001string\u3092\u8fd4\u3059\u95a2\u6570\u306e\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002 // interface\u306e\u5834\u5408 interface ExampleFunctionInterface { (value: number): string } // type\u306e\u5834\u5408 type ExampleFunctionType = (value: number) => string \u65e7\u30cf\u30f3\u30c9\u30d6\u30c3\u30af\u306b\u306fi\u2026","author_url":"https://blog.hatena.ne.jp/hepokon365/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhepokon365.hatenablog.com%2Fentry%2F2022%2F07%2F31%2F233039\" title=\"TypeScript\u306einterface\u3084type\u3067\u3001\u95a2\u6570\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u578b\u3092\u5b9a\u7fa9\u3059\u308b - \u6bce\u65e5\u3078\u3063\u307d\u3053\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"TypeScript\u306einterface\u3084type\u3067\u3001\u95a2\u6570\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u578b\u3092\u5b9a\u7fa9\u3059\u308b","blog_title":"\u6bce\u65e5\u3078\u3063\u307d\u3053","provider_url":"https://hatena.blog","categories":["TypeScript"],"width":"100%","provider_name":"Hatena Blog","published":"2022-07-31 23:30:39","height":"190","blog_url":"https://hepokon365.hatenablog.com/","version":"1.0","author_name":"hepokon365"}