<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hara-peco</author_name>
  <author_url>https://blog.hatena.ne.jp/hara-peco/</author_url>
  <blog_title>ひとやすみ</blog_title>
  <blog_url>https://haaara.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>概要 以下の警告によく出会う。 Parameter 'val' implicitly has an 'any' type, but a better type may be inferred from usage. [7044] 暗黙anyだけど、もっと良い型ありそう〜って言ってる。 ミス TSに不慣れなもので当てずっぽうに型を明示するが、 一向に直らない。 const copy = input.split('').filter(val =&gt; !isNaN(Number(val))).join(''); ↓ const copy = input.split('').filter(val: st…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhaaara.hatenablog.com%2Fentry%2F2026%2F02%2F25%2F214940&quot; title=&quot;TypeScriptの型定義で個人的忘れがちなこと - ひとやすみ&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>2026-02-25 21:49:40</published>
  <title>TypeScriptの型定義で個人的忘れがちなこと</title>
  <type>rich</type>
  <url>https://haaara.hatenablog.com/entry/2026/02/25/214940</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
