typescript omit type from enum