<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>ts-node</anon>
    <anon>TypeScript</anon>
    <anon>d.ts</anon>
  </categories>
  <description>こんな感じの型定義ファイルを用意して、 ts-nodeで実行したときになぜかエラーになってしまった。。 declare module &quot;express&quot; { interface Request { user?: { id: string } | null; } } 色々調べてみると、実行対象に関係しないものは読み込んでくれないっぽい。 ので、tsconfig.jsonに設定を追加するとちゃんと参照してくれるらしい。 typescript - ts-node ignores d.ts files while tsc successfully compiles the project - Stac…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2023%2F05%2F26%2F144749&quot; title=&quot;ts-nodeでtypes.d.tsが読み込まれないときの設定 - くらげになりたい。&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>2023-05-26 14:47:49</published>
  <title>ts-nodeでtypes.d.tsが読み込まれないときの設定</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2023/05/26/144749</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
