diff --git a/api-generator/components/fieldset.js b/api-generator/components/fieldset.js index ab738a165..fc76bfaed 100644 --- a/api-generator/components/fieldset.js +++ b/api-generator/components/fieldset.js @@ -21,7 +21,7 @@ const FieldsetProps = [ name: 'toggleButtonProps', type: 'string', default: 'null', - description: 'Uses to pass the custom value to read for the anchor inside the component.' + description: 'Uses to pass the custom value to read for the AnchorHTMLAttributes inside the component.' } ]; diff --git a/components/fieldset/Fieldset.d.ts b/components/fieldset/Fieldset.d.ts index 5a9138838..77b0ee15d 100755 --- a/components/fieldset/Fieldset.d.ts +++ b/components/fieldset/Fieldset.d.ts @@ -7,7 +7,7 @@ * @module fieldset * */ -import { VNode } from 'vue'; +import { AnchorHTMLAttributes, VNode } from 'vue'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; /** @@ -44,10 +44,9 @@ export interface FieldsetProps { */ collapsed?: boolean | undefined; /** - * Uses to pass the custom value to read for the anchor inside the component. - * @todo + * Uses to pass the custom value to read for the AnchorHTMLAttributes inside the component. */ - toggleButtonProps?: object | undefined; + toggleButtonProps?: AnchorHTMLAttributes | undefined; } /**