From be462ac500c8c3268ef7957952c36a2708dc3688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 6 Mar 2023 11:29:54 +0300 Subject: [PATCH] Fieldset: .d.ts updated for toggleButtonProps --- api-generator/components/fieldset.js | 2 +- components/fieldset/Fieldset.d.ts | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) 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; } /**