Skip to content

Commit

Permalink
Better type
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jul 4, 2024
1 parent bb81710 commit 5847ea9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/editor/src/dataviews/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface TemplateOrTemplatePart extends BasePost {
type: 'wp_template' | 'wp_template_part';
source: string;
has_theme_file: boolean;
id: string;
}

export type Post = TemplateOrTemplatePart | BasePost;
Expand Down

0 comments on commit 5847ea9

Please sign in to comment.