#how do i disable convex typecheck

7 messages · Page 1 of 1 (latest)

tulip ospreyBOT
#

Hi @ashen nimbus. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

To disable type checking in Convex, you can use the --typecheck=disable flag with the convex dev command. In your package.json scripts, you already have:

"dev:backend": "convex dev --typecheck=disable",

This is the correct way to disable type checking when running the Convex dev server. When you run npm run dev:backend, Convex will start without performing TypeScript type checks on your functions.

This approach is confirmed by Convex support staff, who recommend using convex dev --typecheck=disable to turn off type checking if you want faster iteration or are experiencing performance issues with type checking enabled Discord support thread.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@ashen nimbus Kapa.ai is still learning and improving, please let me know how I did by reacting below.

ashen nimbus
#

<@&1402450855881474269> got a scammer here trying to do some phising

#

ban asap if you can

crimson stag
ashen nimbus
#

thank you boss o7