diff --git a/lib/hexo/index.ts b/lib/hexo/index.ts index c99989dc5a..8b579b70f8 100644 --- a/lib/hexo/index.ts +++ b/lib/hexo/index.ts @@ -618,10 +618,12 @@ class Hexo extends EventEmitter { }); } + execFilter(...args: any[]): any; execFilter(type: string, data: any, options?: Record) { return this.extend.filter.exec(type, data, options); } + execFilterSync(...args: any[]): any; execFilterSync(type: string, data: any, options?: Record) { return this.extend.filter.execSync(type, data, options); }