From af49cc9f1c276ecb0b8ee334a8570c9596221da2 Mon Sep 17 00:00:00 2001 From: Emil Krebs <68400102+emilkrebs@users.noreply.github.com> Date: Sat, 4 Nov 2023 12:12:05 +0100 Subject: [PATCH] fix(types): fix generator type (#3) --------- Co-authored-by: Marcelo Shima --- workspaces/types/types/generator/generator.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/workspaces/types/types/generator/generator.d.ts b/workspaces/types/types/generator/generator.d.ts index 675b601..c803745 100644 --- a/workspaces/types/types/generator/generator.d.ts +++ b/workspaces/types/types/generator/generator.d.ts @@ -12,7 +12,15 @@ export type EnvironmentGenerator = { _postConstruct?(): Promise; + /** + * 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;