Type alias: 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
▸ (tree
): void
| Promise
<void
> | string
[] | Promise
<string
[]>
Parameters
Name | Type |
---|---|
tree | Tree |
Returns
void
| Promise
<void
> | string
[] | Promise
<string
[]>