Building a Plugin with TypeScript

Strapi recently made available a version that enables typescript development. Finally, we have type safety in the CMS that we all love. You can read about it here.


This is a companion discussion topic for the original entry at https://strapi.io/blog/how-to-build-a-plugin-with-typescript

This blog post code throws a aborted
Error: aborted at PendingOperation.abort. Any solution or update?

Is there somewhere one can import strapi types ?

1 Like

Quote from blog post:

  1. Run yarn build or npm run build to build the plugin. Every time we make a modification to our plugin, we run this command.

When develop plugin in TypeScript, do I really need to rebuild plugin on every modification, or launching Strapi in development mode does it automatically for me?