Skip to content

Commit e57c262

Browse files
author
William Sedlacek
authored
Improve customClaims Typing (#768)
1 parent cf49e9a commit e57c262

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.d.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,9 @@ declare namespace admin.auth {
624624
* This is set via
625625
* {@link https://firebase.google.com/docs/reference/admin/node/admin.auth.Auth#setCustomUserClaims `setCustomUserClaims()`}
626626
*/
627-
customClaims?: Object;
627+
customClaims?: {
628+
[key: string]: any;
629+
};
628630

629631
/**
630632
* The date the user's tokens are valid after, formatted as a UTC string.

0 commit comments

Comments
 (0)