typescript-scaffolder
Version:
 ### Unit Test Coverage: 97.12%
10 lines • 592 B
TypeScript
import { Project } from 'ts-morph';
/**
* Generate a fixture file for a given interface by introspecting the interface's properties
* and assigning reasonable faker-generated defaults based on type (and sometimes name).
*
* The file is written to `${outputDir}/${interfaceName}.fixture.ts` and exports
* `simulatedWebhookPayload` typed as the given interface.
*/
export declare function generateWebhookFixture(interfaceName: string, interfaceImportPath: string, outputDir: string, project: Project, exportConstName?: string): void;
//# sourceMappingURL=generate-webhook-fixture.d.ts.map