mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
add missing error_description field
This commit is contained in:
4
types/auth0-js/index.d.ts
vendored
4
types/auth0-js/index.d.ts
vendored
@@ -569,7 +569,9 @@ export type SpecErrorCodes =
|
||||
|
||||
export interface Auth0Error {
|
||||
error: LibErrorCodes | SpecErrorCodes | string;
|
||||
errorDescription: string;
|
||||
errorDescription?: string;
|
||||
// Auth0 is not consistent in the naming of the error description field
|
||||
error_description?: string;
|
||||
// Need to include non-intuitive error fields that Auth0 uses
|
||||
code?: string;
|
||||
description?: string;
|
||||
|
||||
Reference in New Issue
Block a user