Skip to content

Commit

Permalink
Merge pull request #1372 from Wizleap-Inc/bugfix/generics-error
Browse files Browse the repository at this point in the history
ジェネリクスの型がうまく生成できない問題の解消
  • Loading branch information
ichi-h authored Sep 24, 2024
2 parents ee7f958 + c041edb commit 90aa5d0
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 146 deletions.
6 changes: 6 additions & 0 deletions .changeset/six-queens-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@wizleap-inc/wiz-ui-example-vue3": patch
"@wizleap-inc/wiz-ui-next": patch
---

fix(wiz-ui-next): ジェネリクスの型がうまく生成できない問題の解消
4 changes: 2 additions & 2 deletions examples/vue3/src/pages/chat/_components/chat-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>
</template>

<script setup lang="ts" generic="T">
<script setup lang="ts">
import { THEME } from "@wizleap-inc/wiz-ui-constants";
import {
WizBox,
Expand Down Expand Up @@ -72,7 +72,7 @@ const props = defineProps({
required: false,
},
statusOptions: {
type: Array as PropType<SelectBoxOption<T>[]>,
type: Array as PropType<SelectBoxOption<number>[]>,
required: false,
},
statusPlaceholder: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"turbo": "^1.13.3",
"typescript": "^5.0.2",
"vite": "^5.2.11",
"vite-plugin-dts": "^1.7.1",
"vite-plugin-dts": "^4.2.2",
"vitest": "^0.29.8",
"wait-on": "^7.0.1"
},
Expand Down
Loading

0 comments on commit 90aa5d0

Please sign in to comment.