Skip to content

Commit

Permalink
feat: add data type before_post_render
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslanjaka committed May 18, 2023
1 parent 8f6e1a6 commit cc9518b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/plugins/filter/before_post_render/dataType.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* before_post_render `data` parameter
*
* @example
* hexo.extend.filter.register('before_post_render', function(data){ console.log(data.content) })
*/
export interface extend_filter_before_post_render_data {
[key: string]: any;
content: string | null | undefined;
source: string;
config: import('../../../hexo')['config'];
}

0 comments on commit cc9518b

Please sign in to comment.