Skip to content

Commit

Permalink
fix(BaseTextarea): change modelValue type to string
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Aug 12, 2023
1 parent b7e27c7 commit 8353f08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/form/BaseTextarea.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
export interface TextareaEmits {
(event: 'update:modelValue', value?: any): void
(event: 'update:modelValue', value?: string): void
}
export interface TextareaProps {
Expand All @@ -13,7 +13,7 @@ export interface TextareaProps {
* @example
* `v-model.trim="value"`
*/
modelValue?: any
modelValue?: string
/**
* Used internaly to allow v-model.trim
Expand Down

0 comments on commit 8353f08

Please sign in to comment.