Home > vue-metamorph > ProgressCallback
ProgressCallback type
Function signature for the onProgress function passed to createVueMetamorphCli
Signature:
typescript
export type ProgressCallback = (args: {
totalFiles: number;
filesProcessed: number;
filesRemaining: number;
stats: Record<string, number>;
aborted: boolean;
done: boolean;
errors: ErrorReport[];
manualMigrations: ManualMigrationReport[];
}) => void;
References: ErrorReport, ManualMigrationReport