playground-dts-plugin

Generate d.ts from JS

Usage no npm install needed!

<script type="module">
  import playgroundDtsPlugin from 'https://cdn.skypack.dev/playground-dts-plugin';
</script>

README

TypeScript Playground Plugin

My new plugin for the TypeScript playground.

Running this plugin

or

  • Open up the TypeScript Playground
  • Go the "Plugins" in the sidebar
  • Look for "Plugins from npm"
  • Add "[name]"
  • Reload the browser

Then it will show up as a tab in the sidebar.

Contributing

See CONTRIBUTING.md for the full details, however, TLDR:

git clone ...
yarn install
yarn start

Then tick the box for starting plugin development inside the TypeScript Playground.