Skip to content

Commit 7f9fbe1

Browse files
Jacob Wengerinlined
authored andcommitted
Updated usage of firebase.auth.UserRecord to UserRecord for auth provider (#99)
As part of FirebasePrivate/firebase-functions#97, you only updated one or four instances of `firebase.auth.UserRecord` usage.
1 parent e564025 commit 7f9fbe1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/providers/auth.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export class UserBuilder {
3838

3939
/** Respond to the creation of a Firebase Auth user. */
4040
onCreate(
41-
handler: (event: Event<firebase.auth.UserRecord>) => PromiseLike<any> | any
42-
): CloudFunction<firebase.auth.UserRecord> {
41+
handler: (event: Event<UserRecord>) => PromiseLike<any> | any
42+
): CloudFunction<UserRecord> {
4343
return makeCloudFunction({
4444
provider, handler,
4545
resource: this.resource,
@@ -50,7 +50,7 @@ export class UserBuilder {
5050
/** Respond to the deletion of a Firebase Auth user. */
5151
onDelete(
5252
handler: (event: Event<UserRecord>) => PromiseLike<any> | any
53-
): CloudFunction<firebase.auth.UserRecord> {
53+
): CloudFunction<UserRecord> {
5454
return makeCloudFunction({
5555
provider, handler,
5656
resource: this.resource,

0 commit comments

Comments
 (0)