{"description":"\u203b\u3053\u306e\u8a18\u4e8b\u306b\u542b\u307e\u308c\u308b\u5185\u5bb9\u306f TypeScript 4.1 \u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u306e\u3082\u306e\u3067\u3059. \u4eca\u5f8c\u4ed5\u69d8\u304c\u5909\u308f\u308a\u52d5\u304b\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044. \u8a71\u984c\u306e template string types \u3067\u65e9\u901f\u904a\u3093\u3067\u307f\u307e\u3059. \u30b4\u30fc\u30eb .foo[1].bar \u3068\u3044\u3063\u305f\u5f62\u306e\u30d1\u30b9\u6587\u5b57\u5217\u3092\u578b\u30ec\u30d9\u30eb\u3067\u89e3\u6790\u3057\u3066\u30af\u30a8\u30ea\u3057\u3061\u3083\u3044\u307e\u3059. \u3053\u3046\u3044\u3046\u611f\u3058: type R1 = Query<{ foo: number }, \"\">; // R1 = { foo: number } type R2 = Query<{ foo: number }, \".foo\">; // R2 = number type R3 = Qu\u2026","width":"100%","author_name":"susisu","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsusisu.hatenablog.com%2Fentry%2F2020%2F09%2F01%2F224328\" title=\"Template String Types \u3067\u30d1\u30b9\u6587\u5b57\u5217\u3092\u89e3\u6790\u3057\u3066\u30af\u30a8\u30ea\u3059\u308b - Object.create(null)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_title":"Object.create(null)","url":"https://susisu.hatenablog.com/entry/2020/09/01/224328","provider_url":"https://hatena.blog","published":"2020-09-01 22:43:28","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","TypeScript","\u5c0f\u30cd\u30bf"],"blog_url":"https://susisu.hatenablog.com/","provider_name":"Hatena Blog","image_url":null,"height":"190","title":"Template String Types \u3067\u30d1\u30b9\u6587\u5b57\u5217\u3092\u89e3\u6790\u3057\u3066\u30af\u30a8\u30ea\u3059\u308b","author_url":"https://blog.hatena.ne.jp/susisu/","version":"1.0"}