<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gfx</author_name>
  <author_url>https://blog.hatena.ne.jp/gfx/</author_url>
  <blog_title>Islands in the byte stream</blog_title>
  <blog_url>https://gfx.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>flow(1)のコマンドラインオプションを眺めていたら、 suggest というサブコマンドがありました*1。 これは、JavaScriptファイルを引数にとって、そのスクリプトにflowtype annotationを付けるパッチを生成するコマンドのようです。 たとえばこういうスクリプトに対して: function add(a, b) { return a + b; } console.log(add(1, 2))); 次のようなパッチを生成しました: --- old +++ new @@ -1,4 +1,4 @@ -function add(a, b) { +function add(a:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenablog.com%2Fentry%2F2016%2F11%2F12%2F160631&quot; title=&quot;Flowtypeの`flow suggest`がすごい！ - Islands in the byte stream&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>2016-11-12 16:06:31</published>
  <title>Flowtypeの`flow suggest`がすごい！</title>
  <type>rich</type>
  <url>https://gfx.hatenablog.com/entry/2016/11/12/160631</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
