Merge pull request #17471 from Andy2003/feature/scaffolder-allow-to-configure-cations-of-any-type
Update typing for usage of scaffolder TemplateAction
This commit is contained in:
@@ -70,7 +70,7 @@ export const createTemplateAction: <
|
||||
// @alpha
|
||||
export interface ScaffolderActionsExtensionPoint {
|
||||
// (undocumented)
|
||||
addActions(...actions: TemplateAction<any>[]): void;
|
||||
addActions(...actions: TemplateAction<any, any>[]): void;
|
||||
}
|
||||
|
||||
// @alpha
|
||||
|
||||
@@ -23,7 +23,7 @@ import { TemplateAction } from './actions';
|
||||
* @alpha
|
||||
*/
|
||||
export interface ScaffolderActionsExtensionPoint {
|
||||
addActions(...actions: TemplateAction<any>[]): void;
|
||||
addActions(...actions: TemplateAction<any, any>[]): void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user