<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inorinrinrin</author_name>
  <author_url>https://blog.hatena.ne.jp/inorinrinrin/</author_url>
  <blog_title>プププなテクブ</blog_title>
  <blog_url>https://blog.inorinrinrin.com/</blog_url>
  <categories>
    <anon>JS/TS</anon>
    <anon>Valibot</anon>
  </categories>
  <description>Valibot は vitest --typecheck をフル活用しているライブラリで、*.test-d.ts という型テスト専用のファイルが 250 ファイル・約 16,000 行 あります。ところで Valibot は @ts-expect-error を使い、以下のようなテストをしています。 test(&quot;should error if pipe input doesn't match&quot;, () =&gt; { pipe( number(), // @ts-expect-error guard(isPixelString) ); }); actions/guard/guard.test-d.t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.inorinrinrin.com%2Fentry%2F9491b785-f6c4-5fb9-748a-5494826bfdc0&quot; title=&quot;`@ts-expect-error`を組み合わせた`vitest   --typecheck`の実践例 - プププなテクブ&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-09-23 00:00:00</published>
  <title>`@ts-expect-error`を組み合わせた`vitest   --typecheck`の実践例</title>
  <type>rich</type>
  <url>https://blog.inorinrinrin.com/entry/9491b785-f6c4-5fb9-748a-5494826bfdc0</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
