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

Antony-Jones picture Antony-Jones  路  3Comments

zhuravlikjb picture zhuravlikjb  路  3Comments

wmaurer picture wmaurer  路  3Comments

MartynasZilinskas picture MartynasZilinskas  路  3Comments

manekinekko picture manekinekko  路  3Comments