added .d.ts generation tests
set 'earlyError' bit to 'non-constant expression in constant enum initializer' error