Migration
Ƭ Migration: (tree: Tree) => void | Promise<void> | string[] | Promise<string[]>
Represents a migration that is executed when running nx migrate.
Returning a string[] from the migration function will be interpreted as a list of next steps to be displayed to the user.
Type declaration
Section titled “Type declaration”▸ (tree): void | Promise<void> | string[] | Promise<string[]>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
tree | Tree |
Returns
Section titled “Returns”void | Promise<void> | string[] | Promise<string[]>