Julien TASSIN

Results 2 issues of Julien TASSIN

Hi, Another PR about the enum types. After a few tweaks, I managed to accept array of litteral strings as values of `enum`. Now we have ```ts types.enum(['foo', 'bar'], {...