{"id":77705,"date":"2022-07-12T00:32:00","date_gmt":"2022-07-12T00:32:00","guid":{"rendered":"https:\/\/omni48.com\/news\/how-to-use-type-casting-in-typescript"},"modified":"2022-07-12T00:32:00","modified_gmt":"2022-07-12T00:32:00","slug":"how-to-use-type-casting-in-typescript","status":"publish","type":"post","link":"https:\/\/omni48.com\/news\/how-to-use-type-casting-in-typescript","title":{"rendered":"How to Use Type Casting in Typescript"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"<p>In TypeScript, something will have an &#8216;unknown` type where TypeScript can&#8217;t discern the specific type something should be. Casting is necessary for some situations, especially when&#8230;<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[307,154,155,34],"class_list":["post-77705","post","type-post","status-publish","format-standard","hentry","category-news","tag-coding-programming","tag-computers","tag-software","tag-technology"],"acf":[],"_links":{"self":[{"href":"https:\/\/omni48.com\/api\/wp\/v2\/posts\/77705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/omni48.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/omni48.com\/api\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/omni48.com\/api\/wp\/v2\/comments?post=77705"}],"version-history":[{"count":0,"href":"https:\/\/omni48.com\/api\/wp\/v2\/posts\/77705\/revisions"}],"wp:attachment":[{"href":"https:\/\/omni48.com\/api\/wp\/v2\/media?parent=77705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/omni48.com\/api\/wp\/v2\/categories?post=77705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/omni48.com\/api\/wp\/v2\/tags?post=77705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}