diff --git a/index.d.ts b/index.d.ts index 97381bb15..55ea0a141 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2123,14 +2123,14 @@ declare namespace grapesjs { * Component's traits. More about it [here](/modules/Traits.html). Default: `['id', 'title']` * @defaultValue '' */ - traits?: TraitOptions[] | String[] | Backbone.Collection; + traits?: Partial[] | 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'] }` and append some new component inside, the new added component will get the exact same properties indicated in the `propagate` array (and the `propagate` property itself). Default: `[]` * @defaultValue [] */ - propagate?: String[]; + propagate?: string[]; /** * Set an array of items to show up inside the toolbar when the component is selected (move, clone, delete). Eg. `toolbar: [ { attributes: {class: 'fa fa-arrows'}, command: 'tlb-move' }, ... ]`.