diff --git a/packages/playground-react/pages/combobox/combobox-virtual-with-empty-states.tsx b/packages/playground-react/pages/combobox/combobox-virtual-with-empty-states.tsx
index baaccaedfe..4521bf3b2c 100644
--- a/packages/playground-react/pages/combobox/combobox-virtual-with-empty-states.tsx
+++ b/packages/playground-react/pages/combobox/combobox-virtual-with-empty-states.tsx
@@ -119,70 +119,73 @@ export default function Home() {
filtered.length === 0 ? 'overflow-hidden' : 'overflow-auto'
)}
>
- {({ option }: { option: Option }) => {
- if (!option || option.empty) {
+ {
+ // @ts-expect-error TODO: Properly handle this
+ ({ option }: { option: Option }) => {
+ if (!option || option.empty) {
+ return (
+
+
+
+
+
+ No people found
+
+
+
+
+
+ )
+ }
+
return (
{
+ return classNames(
+ 'relative w-full cursor-default select-none py-2 pl-3 pr-9 focus:outline-none',
+ active ? 'bg-indigo-600 text-white' : 'text-gray-900'
+ )
+ }}
>
-
-
-
-
- No people found
-
-
-
-
+ {option.name}
)
}
-
- return (
- {
- return classNames(
- 'relative w-full cursor-default select-none py-2 pl-3 pr-9 focus:outline-none',
- active ? 'bg-indigo-600 text-white' : 'text-gray-900'
- )
- }}
- >
- {option.name}
-
- )
- }}
+ }
diff --git a/packages/playground-react/pages/combobox/combobox-virtualized.tsx b/packages/playground-react/pages/combobox/combobox-virtualized.tsx
index 3d2b7bd6ce..1d476015d9 100644
--- a/packages/playground-react/pages/combobox/combobox-virtualized.tsx
+++ b/packages/playground-react/pages/combobox/combobox-virtualized.tsx
@@ -107,55 +107,48 @@ function Example({ virtual = true, data, initial }: { virtual?: boolean; data; i
{virtual ? (
- {
- // @ts-expect-error TODO
- ({ option, idx }) => {
- return (
- {
- return classNames(
- 'relative w-full cursor-default select-none py-2 pl-3 pr-9 focus:outline-none',
- active ? 'bg-indigo-600 text-white' : 'text-gray-900'
- )
- }}
- >
- {({ active, selected }) => (
- <>
+ {({ option }) => {
+ return (
+ {
+ return classNames(
+ 'relative w-full cursor-default select-none py-2 pl-3 pr-9 focus:outline-none',
+ active ? 'bg-indigo-600 text-white' : 'text-gray-900'
+ )
+ }}
+ >
+ {({ active, selected }) => (
+ <>
+
+ {option as any}
+
+ {selected && (
- {option}
+
- {selected && (
-
-
-
- )}
- >
- )}
-
- )
- }
- }
+ )}
+ >
+ )}
+
+ )
+ }}
) : (
diff --git a/packages/playground-vue/src/main.ts b/packages/playground-vue/src/main.ts
index 2202f677b5..ca791b439b 100644
--- a/packages/playground-vue/src/main.ts
+++ b/packages/playground-vue/src/main.ts
@@ -1,4 +1,5 @@
import { createApp } from 'vue'
+// @ts-expect-error TODO: Properly handle this
import App from './App.vue'
import router from './router'