diff --git a/packages/create-webpack-app/src/types.ts b/packages/create-webpack-app/src/types.ts index 89c62017c7f..090e1e654e7 100644 --- a/packages/create-webpack-app/src/types.ts +++ b/packages/create-webpack-app/src/types.ts @@ -1,6 +1,7 @@ export type { ActionConfig, AddActionConfig, + CustomActionConfig, AddManyActionConfig, AppendActionConfig, CustomActionFunction, @@ -11,8 +12,19 @@ export type { PlopGeneratorConfig, Actions, } from "node-plop"; -export interface Answers extends Record {} +// eslint-disable-next-line +export type Answers = Record; +export interface PlopActionHooksFailures { + type: string; + path: string; + error: string; + message: string; +} +export interface PlopActionHooksChanges { + type: string; + path: string; +} import { ActionType as ActionTypeBase, CustomActionConfig } from "node-plop"; // extended ACtionType to include custom action config as previously it was not recognizing export type ActionType = ActionTypeBase | CustomActionConfig;