mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
undo changes in types and set types by jsdoc
This commit is contained in:
parent
11ff533029
commit
3649cddbea
2 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
||||||
<script>
|
<script>
|
||||||
/** Specify the textarea value */
|
/**
|
||||||
|
* Specify the textarea value.
|
||||||
|
*
|
||||||
|
* and the value is empty.
|
||||||
|
* @type {null | string}
|
||||||
|
*/
|
||||||
export let value = "";
|
export let value = "";
|
||||||
|
|
||||||
/** Specify the placeholder text */
|
/** Specify the placeholder text */
|
||||||
|
|
2
types/TextArea/TextArea.svelte.d.ts
vendored
2
types/TextArea/TextArea.svelte.d.ts
vendored
|
@ -6,8 +6,6 @@ type RestProps = SvelteHTMLElements["textarea"];
|
||||||
export interface TextAreaProps extends RestProps {
|
export interface TextAreaProps extends RestProps {
|
||||||
/**
|
/**
|
||||||
* Specify the textarea value.
|
* Specify the textarea value.
|
||||||
*
|
|
||||||
* and the value is empty.
|
|
||||||
* @default ""
|
* @default ""
|
||||||
*/
|
*/
|
||||||
value?: string;
|
value?: string;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue