Add productType to ProductEditorContext interface
This commit is contained in:
parent
6f53697df2
commit
67e3d72095
|
@ -5,9 +5,9 @@ import { BlockEditProps } from '@wordpress/blocks';
|
||||||
import { Product } from '@woocommerce/data';
|
import { Product } from '@woocommerce/data';
|
||||||
|
|
||||||
export interface ProductEditorContext {
|
export interface ProductEditorContext {
|
||||||
editedProduct: Product;
|
|
||||||
postId: number;
|
postId: number;
|
||||||
postType: string;
|
postType: string;
|
||||||
|
productType: string;
|
||||||
selectedTab: string | null;
|
selectedTab: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue