Skip to content

fix(externs): fix auth externs #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions externs/firebase-auth-externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ firebase.UserInfo.prototype.phoneNumber;
* @interface
* @extends {firebase.UserInfo}
*/
firebase.User;
firebase.User = function() {};

/**
* The phone number normalized based on the E.164 standard (e.g. +16505550101)
Expand Down Expand Up @@ -712,6 +712,19 @@ firebase.User.prototype.delete = function() {};
*/
firebase.User.prototype.toJSON = function() {};

/**
* The Firebase Auth service interface.
*
* Do not call this constructor directly. Instead, use
* {@link firebase.auth `firebase.auth()`}.
*
* See
* {@link https://firebase.google.com/docs/auth/ Firebase Authentication}
* for a full guide on how to use the Firebase Auth service.
*
* @interface
*/
firebase.auth.Auth = function() {};

/**
* Checks a password reset code sent to the user by email or other out-of-band
Expand Down Expand Up @@ -854,20 +867,6 @@ firebase.auth.Auth.prototype.checkActionCode = function(code) {};
*/
firebase.auth.Auth.prototype.applyActionCode = function(code) {};

/**
* The Firebase Auth service interface.
*
* Do not call this constructor directly. Instead, use
* {@link firebase.auth `firebase.auth()`}.
*
* See
* {@link https://firebase.google.com/docs/auth/ Firebase Authentication}
* for a full guide on how to use the Firebase Auth service.
*
* @interface
*/
firebase.auth.Auth = function() {};

/**
* The {@link firebase.app.App app} associated with the `Auth` service
* instance.
Expand Down Expand Up @@ -1440,7 +1439,7 @@ firebase.auth.Auth.prototype.signInWithPhoneNumber =
* A result from a phone number sign-in, link, or reauthenticate call.
* @interface
*/
firebase.auth.ConfirmationResult;
firebase.auth.ConfirmationResult = function() {};


/**
Expand Down