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

rbuckton picture rbuckton  路  139Comments

yortus picture yortus  路  157Comments

RyanCavanaugh picture RyanCavanaugh  路  205Comments

chanon picture chanon  路  138Comments

quantuminformation picture quantuminformation  路  273Comments