Open Pentadome opened 2 months ago
What did you do?
<script setup lang="ts"> interface MyTextAreaInput extends /* @vue-ignore */ TextareaHTMLAttributes { // prevent accidentally using min/max instead of minlength/maxlength min?: never; // <- 'min' of property found, but never used. max?: never; // <- 'max' of property found, but never used. } defineProps<MyTextAreaInput>() </script>
I realize it is very unusual to use type never as a prop type. So not very important issue.
never
I guess that could be a small improvement (if the types are known because typescript-eslint's parser is used). PR welcome for that!
What did you do?
I realize it is very unusual to use type
never
as a prop type. So not very important issue.