Skip to content

Home > vue-metamorph > TransformResult

TransformResult type ​

The return type of the transform function, which holds the transformed source code and the codemod stats.

Signature:

typescript
export type TransformResult = {
    code: string;
    stats: [codemodName: string, transformCount: number][];
};