Evan You 1 год назад
Родитель
Сommit
8d606c44ec
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      packages/runtime-core/src/component.ts

+ 3 - 1
packages/runtime-core/src/component.ts

@@ -234,7 +234,9 @@ export type SetupContext<
       attrs: Data
       slots: UnwrapSlotsType<S>
       emit: EmitFn<E>
-      expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void
+      expose: <Exposed extends Record<string, any> = Record<string, any>>(
+        exposed?: Exposed,
+      ) => void
     }
   : never