Skip to content

Commit a95bceb

Browse files
committed
Rename flow-controller{.d -> }.ts
The file isn't included in the build artefacts otherwise, making the type unavailable to consumers. Fixes #594
1 parent ced4245 commit a95bceb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Command } from '../command.js';
1+
import type { Command } from '../command.js';
22

33
/**
44
* Interface for a class that controls and/or watches the behavior of commands.
@@ -7,5 +7,5 @@ import { Command } from '../command.js';
77
* actually finish.
88
*/
99
export interface FlowController {
10-
handle: (commands: Command[]) => { commands: Command[]; onFinish?: () => void | Promise<void> };
10+
handle(commands: Command[]): { commands: Command[]; onFinish?: () => void | Promise<void> };
1111
}

0 commit comments

Comments
 (0)