We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8ab86e commit 8474644Copy full SHA for 8474644
1 file changed
modules/code-generator/src/types/core.ts
@@ -197,7 +197,7 @@ export type ProjectPostProcessor = (
197
export type PostProcessorFactory<T> = (config?: T) => PostProcessor;
198
199
/** 模块级别的后置处理器 */
200
-export type PostProcessor = (content: string, fileType: string, name: string) => string;
+export type PostProcessor = (content: string, fileType: string, name?: string) => string;
201
202
// TODO: temp interface, need modify
203
export interface IPluginOptions {
0 commit comments