mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
Update to Auth0LockConstructorOptions (#24781)
The member 'avatar' should allow 'null', to be consistent with the documentation at: https://auth0.com/docs/libraries/lock/v11/configuration#avatar-object- I discovered this when I was trying to figure out why I was seeing 404 errors to gravitar.com in my browser console when logging in.
This commit is contained in:
committed by
Mohamed Hegazy
parent
6e605f1695
commit
0b59f703b5
2
types/auth0-lock/index.d.ts
vendored
2
types/auth0-lock/index.d.ts
vendored
@@ -118,7 +118,7 @@ interface Auth0LockConstructorOptions {
|
||||
auth?: Auth0LockAuthOptions;
|
||||
autoclose?: boolean;
|
||||
autofocus?: boolean;
|
||||
avatar?: Auth0LockAvatarOptions;
|
||||
avatar?: Auth0LockAvatarOptions | null;
|
||||
clientBaseUrl?: string;
|
||||
closable?: boolean;
|
||||
configurationBaseUrl?: string;
|
||||
|
||||
Reference in New Issue
Block a user