kulshekhar / ts-jest

A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.
https://kulshekhar.github.io/ts-jest
MIT License
6.95k stars 451 forks source link

[Feature]: Support (Multi-)Extends as Array (TypeScript 5 feature) #4122

Open Apollon77 opened 1 year ago

Apollon77 commented 1 year ago

🚀 Feature Proposal

Starting Typescript 5 you can have an array for "extend" in tsconfig to extend from multiple configuration files

Motivation

It would be cool to be able to use this feature also with ts-juest without the need to create another config file.

Example

    "extends": ["./tsconfig.base.json", "../../tsconfig.dev.json"],
ahnpnl commented 3 months ago

This looks nice but introducing an extra type/config option to existing tsconfig seems to be too much. We would prefer to stick to existing configuration and the extends usage should be inside tsconfig file only.