Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-12 09:12:41 +00:00
parent a4605e311a
commit a6ae5199b0
29756 changed files with 2526222 additions and 278 deletions

8
node_modules/antd/es/modal/useModal/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,8 @@
import * as React from 'react';
import type { ModalFunc, ModalStaticFunctions } from '../confirm';
export type ModalFuncWithPromise = (...args: Parameters<ModalFunc>) => ReturnType<ModalFunc> & {
then: <T>(resolve: (confirmed: boolean) => T, reject: VoidFunction) => Promise<T>;
};
export type HookAPI = Omit<Record<keyof ModalStaticFunctions, ModalFuncWithPromise>, 'warn'>;
declare function useModal(): readonly [instance: HookAPI, contextHolder: React.ReactElement];
export default useModal;