Skip to content

Commit ee548ac

Browse files
committed
try long name to wrap
1 parent 61ad12f commit ee548ac

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

src/Component.vue

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
<script lang="ts">
2-
export type ComponentProps<TValue = string> = {
3-
value?: TValue;
2+
export type ComponentProps<
3+
TValueLoooooooooooooooooooooooooooooooooog = string
4+
> = {
5+
value?: TValueLoooooooooooooooooooooooooooooooooog;
46
};
57
</script>
68

7-
<script setup lang="ts">
8-
const props = withDefaults(defineProps<ComponentProps>(), {
9-
value: "default",
10-
});
9+
<script
10+
setup
11+
lang="ts"
12+
generic="TValueLoooooooooooooooooooooooooooooooooog = string"
13+
>
14+
const props = withDefaults(
15+
defineProps<ComponentProps<TValueLoooooooooooooooooooooooooooooooooog>>(),
16+
{
17+
value: "default",
18+
}
19+
);
1120
</script>
1221

1322
<template>

0 commit comments

Comments
 (0)