diff --git a/index.d.ts b/index.d.ts index 97381bb15..0f0cdf949 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2123,7 +2123,7 @@ declare namespace grapesjs { * Component's traits. More about it [here](/modules/Traits.html). Default: `['id', 'title']` * @defaultValue '' */ - traits?: TraitOptions[] | String[] | Backbone.Collection; + traits?: (TraitOptions | String)[] | Backbone.Collection; /** * Indicates an array of properties which will be inhereted by all NEW appended children. For example if you create a component likes this: `{ removable: false, draggable: false, propagate: ['removable', 'draggable'] }`