typescript: avoid a bug of skipDefaultLibCheck
typescript: avoid a bug of skipDefaultLibCheck

if skipDefaultLibCheck is true,
then when compiling a file with `no-default-lib="true"`,
const enum's items won't be replaced with the real values.

gdh1995/vimium-plus,gdh1995/vimium-plus,gdh1995/vimium-plus