<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panda_noir</author_name>
  <author_url>https://blog.hatena.ne.jp/panda_noir/</author_url>
  <blog_title>Panda Noir</blog_title>
  <blog_url>https://www.pandanoir.info/</blog_url>
  <categories>
  </categories>
  <description>Mapped typesを扱う時、よくstring | number | symbolが出てきますよね？実はこれと同じ型が PropertyKeyというビルトイン型であります。 type keys = PropertyKey; // string | number | symbol 実は、これと同じものは keyof any から導出できます。ただ、微妙に違いがあります。 keyofStringsOnly オプションの有無によって keyof any の挙動が異なります。 // &quot;keyofStringsOnly&quot;: true type keys1 = keyof any; // string…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pandanoir.info%2Fentry%2F2021%2F02%2F28%2F131203&quot; title=&quot;オブジェクトのキーの型は PropertyKey 型 - Panda Noir&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-28 13:12:03</published>
  <title>オブジェクトのキーの型は PropertyKey 型</title>
  <type>rich</type>
  <url>https://www.pandanoir.info/entry/2021/02/28/131203</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
