<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiba_yu36</author_name>
  <author_url>https://blog.hatena.ne.jp/shiba_yu36/</author_url>
  <blog_title>$shibayu36-&gt;blog;</blog_title>
  <blog_url>https://blog.shibayu36.org/</blog_url>
  <categories>
    <anon>tech</anon>
    <anon>cluster</anon>
  </categories>
  <description>Cluster Scriptを書く時は、TypeScript用の型定義ファイルが用意されていて、それを使うことで型チェックや補完が効くようになる。型定義ファイルは https://docs.cluster.mu/script/index.d.ts にある。 これをJavaScriptからそのまま使ってVSCodeで保管できないんだっけ？と疑問に思い、試してみたらできたのでメモしておく。 できたもの こんな感じで補完ができるようになった。 やり方 まずプロジェクトルートに https://docs.cluster.mu/script/index.d.ts からダウンロードしたファイルを置いておく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F2025%2F04%2F02%2F092023&quot; title=&quot;Cluster ScriptをJavaScriptで書くときに型の補完が効くように - $shibayu36-&amp;gt;blog;&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/shiba_yu36/20250402/20250402091933.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-04-02 09:20:23</published>
  <title>Cluster ScriptをJavaScriptで書くときに型の補完が効くように</title>
  <type>rich</type>
  <url>https://blog.shibayu36.org/entry/2025/04/02/092023</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
