Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docusaurus/docs/cms/typescript/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,7 @@ There are 2 important distinctions for TypeScript applications:
:::note
It is not necessary to repeat the `yarn` or `npm install` command after the initial installation. The `yarn build` or `npm run build` command is necessary to implement any plugin development that affects the admin panel.
:::

### Type declaration generation

When building TypeScript plugins using the Plugin SDK (`yarn build` or `npm run build`), the build process generates comprehensive type declarations for all source files in the plugin, not just the entry point. All TypeScript types, interfaces, and type definitions used throughout the plugin will have corresponding `.d.ts` declaration files emitted in the build output. This ensures better TypeScript support and IDE autocomplete for developers consuming the plugin.
Loading