Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
24
Frontend-Learner/node_modules/mocked-exports/lib/proxy.d.mts
generated
vendored
Normal file
24
Frontend-Learner/node_modules/mocked-exports/lib/proxy.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/* eslint-disable */
|
||||
|
||||
interface _MockFunction<F> {
|
||||
(...args: any[]): F;
|
||||
new (...args: any[]): F;
|
||||
readonly __mock__: true;
|
||||
readonly __createMock__: typeof createMock;
|
||||
then<T>(fn: () => T): Promise<T>;
|
||||
catch<T>(fn: () => T): Promise<void>;
|
||||
finally(fn: () => void): Promise<void>;
|
||||
}
|
||||
|
||||
declare function createMock(
|
||||
name: string,
|
||||
overrides?: Record<string, any>,
|
||||
): MockFunction;
|
||||
|
||||
type MockFunction = _MockFunction<MockFunction> & {
|
||||
readonly [key: string | symbol]: MockFunction;
|
||||
};
|
||||
|
||||
declare const mock: MockFunction;
|
||||
|
||||
export default mock;
|
||||
Loading…
Add table
Add a link
Reference in a new issue