docs: remove usages of ts-ignore in examples (#12839)

This commit is contained in:
Shahed Nasser
2025-06-26 17:51:49 +03:00
committed by GitHub
parent 7d95eb73d3
commit f7e4a80c30
25 changed files with 17689 additions and 169 deletions
@@ -507,9 +507,9 @@ Next, you'll create the workflow that tracks the order placement event.
To create the workflow, create the file `src/workflows/track-order-placed.ts` with the following content:
export const workflowHighlights = [
["16", "useQueryGraphStep", "Retrieve the order's details."],
["35", "transform", "Prepare data for tracking."],
["58", "trackEventStep", "Track the order placement event in Segment."]
["15", "useQueryGraphStep", "Retrieve the order's details."],
["34", "transform", "Prepare data for tracking."],
["57", "trackEventStep", "Track the order placement event in Segment."]
]
```ts title="src/workflows/track-order-placed.ts" highlights={workflowHighlights}
@@ -527,7 +527,6 @@ type WorkflowInput = {
export const trackOrderPlacedWorkflow = createWorkflow(
"track-order-placed",
({ id }: WorkflowInput) => {
// @ts-ignore
const { data: orders } = useQueryGraphStep({
entity: "order",
fields: [