Is there a way to specify the minimum/maximum version of typescript (tsc compiler) that should be used to compile the project?
{
"compilerOptions": {
"minVersion": '', // ?
"maxVersion": '', // ?
"outDir": "dist",
"strict": true,
"allowJs": false,
"pretty": true,
"resolveJsonModule": true,
"sourceMap": false,
"skipLibCheck": true,
"rootDir": "courses",
"declaration": true,
"baseUrl": ".",
"target": "es2019",
"module": "commonjs",
"lib": [
"es2021"
]
},
"include": [
"courses/**/src"
]
}
that being said min/max version doesn't make that much sense, I would say specifying the exact version is much less error prone for multiple reasons.