Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Conversation

znarf
Copy link
Collaborator

@znarf znarf commented Jun 8, 2023

TSConfig is a jsonc (JSON with comments) file, a proprietary format "used by a bunch of Microsoft products, most notably Typescript and VSCode"

https://www.typescriptlang.org/docs/handbook/declaration-files/dts-from-js.html#tsconfig

The TSConfig is a jsonc file which configures both your compiler flags, and declare where to find files.

JSON.parse is not working when there are comments but we luckily have JSON5 available in the dependencies and it can do this just fine.

@rumpl
Copy link
Member

rumpl commented Sep 11, 2023

#826 was just merged, I'll close this one

@rumpl rumpl closed this Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants