<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>todays_mitsui</author_name>
  <author_url>https://blog.hatena.ne.jp/todays_mitsui/</author_url>
  <blog_title>無駄と文化</blog_title>
  <blog_url>https://blog.mudatobunka.org/</blog_url>
  <categories>
    <anon>Rust</anon>
    <anon>WebAssembly</anon>
    <anon>wasm-bindgen</anon>
    <anon>tsify-next</anon>
  </categories>
  <description>tsify-next を使っていると特定の型名に対して想定していない型情報が生成されることがあります。 例えば Path, Range, Cow などがそうです。 // Rust pub struct Path { b: bool, s: String, } #[derive(Tsify)] pub struct Range&lt;T&gt; { _t: T, b: bool, s: String, } #[derive(Tsify)] pub struct Cow&lt;T&gt; { _t: T, b: bool, s: String, } コンパイルすると次のような型が生成されます。 // .d.ts expo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.mudatobunka.org%2Fentry%2F2024%2F11%2F18%2F120000&quot; title=&quot;Tsify には予約された型名がある - 無駄と文化&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>2024-11-18 12:00:00</published>
  <title>Tsify には予約された型名がある</title>
  <type>rich</type>
  <url>https://blog.mudatobunka.org/entry/2024/11/18/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
