docs: remove usages of ts-ignore in examples (#12839)
This commit is contained in:
@@ -533,7 +533,6 @@ type SyncProductsWorkflowInput = {
|
||||
export const syncProductsWorkflow = createWorkflow(
|
||||
"sync-products",
|
||||
({ filters, limit, offset }: SyncProductsWorkflowInput) => {
|
||||
// @ts-ignore
|
||||
const { data, metadata } = useQueryGraphStep({
|
||||
entity: "product",
|
||||
fields: ["id", "title", "description", "handle", "thumbnail", "categories.*", "tags.*"],
|
||||
@@ -542,7 +541,6 @@ export const syncProductsWorkflow = createWorkflow(
|
||||
skip: offset,
|
||||
},
|
||||
filters: {
|
||||
// @ts-ignore
|
||||
status: "published",
|
||||
...filters,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user