Home > vue-metamorph > findManualMigrations
findManualMigrations() function
Finds manual migration locations in a file
Signature:
typescript
export declare function findManualMigrations(code: string, filename: string, plugins: ManualMigrationPlugin[], opts?: Record<string, any>): ManualMigrationReport[];
Parameters
Parameter | Type | Description |
---|---|---|
code | string | Source code |
filename | string | The file name |
plugins | Manual migration plugins | |
opts | Record<string, any> | (Optional) CLI Options |
List of reports