tsconfig icon indicating copy to clipboard operation
tsconfig copied to clipboard

Resolve and parse `tsconfig.json`, replicating TypeScript's behaviour

Results 5 tsconfig issues
Sort by recently updated
recently updated
newest added

According to this issue on typescript repo, trailing commas in tsconfig are legal (like comments) https://github.com/microsoft/TypeScript/issues/20384#issuecomment-348552936 Example: ```js { "extends": "@tsconfig/svelte/tsconfig.json", "include": ["src/**/*"], "exclude": ["node_modules"], //

As of TS 2.1, there is now an [`extends`](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends) field that allows configs to inherit configuration from other files. It'd be great if this library emulated that behavior (though perhaps...

enhancement

With this pull request we can handle "extends" at tsconfig. Multiple extends are possible too. The only thing to note is that a small part of readFile is not async...

Instead, it opens my tsconfig.js file from the project root in a default application, associated with JS files (notepad++ in my case)

This pull request updates the `tsconfig` test suite to account for a difference in error message in Node.js version 20 or higher.