Show Plugin Collection with Typescript - Not show collections

System Information
  • Strapi Version: 4.24.0
  • Operating System: Windows 11
  • Database: sqllite
  • Node Version: 18.19.1
  • NPM Version: 10.2.4
  • Yarn Version: 1.22.22

I’m creating a new plugin.
I created the plugin structure with yarn strapi generate . This plugin is a typescript plugin.
Then I create a collection for this plugin by cli. This collection has two fields inside.
Than I want to show this collection in content-manager:

  1. in the schema.json I added this line
    “pluginOptions”: {
    “content-manager”: {
    “visible”: true
    “content-type-builder”: {
    “visible”: true
  2. I created I index.ts file inside the server/content-types/ateco2 folder with this code:
    import schema from ‘./schema.json’
    export default { schema}
  3. I modified the index.ts in content-types folder with this:
    import ateco2 from “./ateco2”;
    export default {ateco2};

Then I build and run strapi.
I can’t see the collection in collection manager.

Next, I try to create a javascript plugin and a collection for this. If I repeat the operations with the original js index.js all works fine, and I see the collection in collection manager.

Is not possible to show collection from typescript plugin? there are other operations to do ?