mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-10 18:03:01 +00:00
chore: make the second argument of module post processor optional
This commit is contained in:
parent
a8ab86ebb5
commit
8474644e99
@ -197,7 +197,7 @@ export type ProjectPostProcessor = (
|
||||
export type PostProcessorFactory<T> = (config?: T) => PostProcessor;
|
||||
|
||||
/** 模块级别的后置处理器 */
|
||||
export type PostProcessor = (content: string, fileType: string, name: string) => string;
|
||||
export type PostProcessor = (content: string, fileType: string, name?: string) => string;
|
||||
|
||||
// TODO: temp interface, need modify
|
||||
export interface IPluginOptions {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user