diff options
Diffstat (limited to 'vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts')
| -rw-r--r-- | vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts b/vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts deleted file mode 100644 index cad0899..0000000 --- a/vanilla/node_modules/@vitest/mocker/dist/index.d-C-sLYZi-.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import './types.d-B8CCKmHt.js'; - -type Key = string | symbol; -type CreateMockInstanceProcedure = (options?: { - prototypeMembers?: (string | symbol)[]; - name?: string | symbol; - originalImplementation?: (...args: any[]) => any; - keepMembersImplementation?: boolean; -}) => any; -interface MockObjectOptions { - type: "automock" | "autospy"; - globalConstructors: GlobalConstructors; - createMockInstance: CreateMockInstanceProcedure; -} -declare function mockObject(options: MockObjectOptions, object: Record<Key, any>, mockExports?: Record<Key, any>): Record<Key, any>; -interface GlobalConstructors { - Object: ObjectConstructor; - Function: FunctionConstructor; - RegExp: RegExpConstructor; - Array: ArrayConstructor; - Map: MapConstructor; -} - -export { mockObject as m }; -export type { CreateMockInstanceProcedure as C, GlobalConstructors as G, MockObjectOptions as M }; |
