docs: add note to tutorials related to types (#13720)
This commit is contained in:
@@ -674,6 +674,12 @@ The syncing workflow will have a single step that syncs products provided as an
|
||||
|
||||
So, to implement that step, create the file `src/workflows/sanity-sync-products/steps/sync.ts` with the following content:
|
||||
|
||||
<Note>
|
||||
|
||||
If you get a type error on resolving the Sanity Module, run the Medusa application once with the `npm run dev` or `yarn dev` command to generate the necessary type definitions, as explained in the [Automatically Generated Types guide](!docs!/learn/fundamentals/generated-types).
|
||||
|
||||
</Note>
|
||||
|
||||
export const syncStepHighlights = [
|
||||
["13", "createStep", "Create a step."],
|
||||
["15", "container", "The Medusa container to resolve resources."],
|
||||
|
||||
Reference in New Issue
Block a user