| 14 | } |
| 15 | |
| 16 | export interface Change { |
| 17 | apply(host: Host): Promise<void>; |
| 18 | |
| 19 | // The file this change should be applied to. Some changes might not apply to |
| 20 | // a file (maybe the config). |
| 21 | readonly path: string | null; |
| 22 | |
| 23 | // The order this change should be applied. Normally the position inside the file. |
| 24 | // Changes are applied from the bottom of a file to the top. |
| 25 | readonly order: number; |
| 26 | |
| 27 | // The description of this change. This will be outputted in a dry or verbose run. |
| 28 | readonly description: string; |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * An operation that does nothing. |
no outgoing calls
no test coverage detected