Skip to content

Commit

Permalink
fix(types): fix generator type (#3)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Marcelo Shima <marceloshima@gmail.com>
  • Loading branch information
emilkrebs and mshima committed Nov 4, 2023
1 parent 62e9647 commit af49cc9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions workspaces/types/types/generator/generator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ export type EnvironmentGenerator = {

_postConstruct?(): Promise<void>;

/**
* Get the generator destination root directory.
*/
destinationRoot(): string;
/**
* Set the generator destination root directory.
*/
// eslint-disable-next-line @typescript-eslint/unified-signatures
destinationRoot(rootPath: string): string;

// Generator >= v5
queueTasks?(): Promise<void>;
Expand Down

0 comments on commit af49cc9

Please sign in to comment.