Hi you can not create indexes like what you did in this line
you get the following error messages:
Argument of type '{ 'email': number; }' is not assignable to parameter of type 'IndexSpecification'.
Object literal may only specify known properties, and ''email'' does not exist in type 'IndexSpecification'.