#I've started a project with strict typscript. How can I downgrade to relaxed

5 messages · Page 1 of 1 (latest)

tight dragon
#

I've started a project with strict typscript. How can I downgrade to relaxed

native locustBOT
#

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

#

To downgrade your TypeScript settings from strict to relaxed in your Astro project, you need to modify your tsconfig.json file.

Unfortunately, the exact changes you need to make are not specified in the provided extracts. However, you can refer to the Astro TypeScript guide (https://docs.astro.build/en/guides/typescript/) for more information on how to configure TypeScript in Astro.

Remember to always check your project after making changes to ensure everything is working as expected.

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

#

@tight dragon kapa.ai is still learning and improving, please let us know how it did by reacting below

lean pilot
#

You can change your extends in your tsconfig to astro/tsconfigs/base (which I believe is what the "relaxed") option will set it to

// tsconfig.json
{
  "extends": "astro/tsconfigs/base",
  ...
}