Typescript: unknown compiler options should not stop parsing of tsconfig.json

Created on 8 Jul 2016  路  3Comments  路  Source: microsoft/TypeScript

If a tsconfig.json has an unknown option, the whole tsconfig.json is thrown away. This is too drastic. instead, only unknown properties should be ignored, and other properties kept.

Bug Fixed

Most helpful comment

--wranAbuotUknownOptionss

All 3 comments

But please warn about them to help catch typos.

--wranAbuotUknownOptionss

If a tsconfig.json has an unknown option

I think an valid compile output but with a error message + code (just like a type failure) would be nice :rose:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blendsdk picture blendsdk  路  3Comments

bgrieder picture bgrieder  路  3Comments

dlaberge picture dlaberge  路  3Comments

Antony-Jones picture Antony-Jones  路  3Comments

Zlatkovsky picture Zlatkovsky  路  3Comments