<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kurosame-th</author_name>
  <author_url>https://blog.hatena.ne.jp/kurosame-th/</author_url>
  <blog_title>kurosame’s diary</blog_title>
  <blog_url>https://kurosame-th.hatenadiary.com/</blog_url>
  <categories>
    <anon>@nuxtjs/moment</anon>
    <anon>TypeScript</anon>
    <anon>Vue.js</anon>
    <anon>Vuex</anon>
    <anon>Nuxt.js</anon>
  </categories>
  <description>Vuex の型定義を拡張して、@nuxtjs/moment の型を追加してあげようっていうだけの記事です まずは前提として、Nuxt.js では store ディレクトリ配下が Vuex になっており、 store 配下にファイルを作成して、そのファイル内で actions オブジェクトを export すれば、 ファイル名/ActionTypeという指定で Vue のコンポーネントとかからアクションを dispatch できる この actions オブジェクト内で this を参照すると、this はStore&lt;S&gt;という型になっている 今回の問題は@nuxtjs/momentがStore…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkurosame-th.hatenadiary.com%2Fentry%2F2019%2F10%2F25%2F190143&quot; title=&quot;@nuxtjs/moment の型定義 - kurosame’s diary&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/k/kurosame-th/20191025/20191025183646.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-25 19:01:43</published>
  <title>@nuxtjs/moment の型定義</title>
  <type>rich</type>
  <url>https://kurosame-th.hatenadiary.com/entry/2019/10/25/190143</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
