undo changes in types and set types by jsdoc

This commit is contained in:
Wolfgang Rathgeb 2024-03-13 09:33:21 +01:00
commit 3649cddbea
No known key found for this signature in database
GPG key ID: C12454F568B9EA95
2 changed files with 6 additions and 3 deletions

View file

@ -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 */

View file

@ -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;