title: how to import petite-vue as a typescript module?
body: <p>So far I've tried the following snippet on a <code>app.ts</code> script, but had no success to find out which cdn url I should point to, so I can import <a href="https://github.com/vuejs/petite-vue" rel="nofollow noreferrer">petite-vue</a> as a typescript module.</p>
  <pre><code>import { createApp } from 'https://unpkg.com/petite-vue@0.4.1/?????'
  
  PetiteVue.createApp({
      name: &quot;Hello World&quot;
  }).mount(&quot;#div-id&quot;);
  </code></pre>
  <p>So, is there a direct cdn url to get petite-vue as a typescript module? If not, what is the best approach to get it working on my typescript code? Or is there a <code>.d.ts</code> somewhere to translate the javascript module available from unpkg.com to typescript? How should I use it?</p>
  <p>Looking at github sources for petite-vue I found the following declaration inside <a href="https://github.com/vuejs/petite-vue/blob/main/package.json" rel="nofollow noreferrer">package.json</a>, but I can't figure out how to use this piece of information.</p>
  <pre><code>&quot;types&quot;: &quot;./dist/types/index.d.ts&quot;
  </code></pre>
  <p>(I'm brand new to the typescript world and also to the whole javascript modules ecosystem)</p>