diff --git a/meteor/index.d.ts b/meteor/index.d.ts index 585c2ab43a..b33973f943 100644 --- a/meteor/index.d.ts +++ b/meteor/index.d.ts @@ -206,6 +206,8 @@ declare module Accounts { stop: () => void }; + function _hashPassword(password: string): { digest: string; algorithm: string; }; + interface IValidateLoginAttemptCbOpts { type: string; allowed: boolean; @@ -269,6 +271,8 @@ declare module "meteor/accounts-base" { stop: () => void }; + function _hashPassword(password: string): { digest: string; algorithm: string; }; + interface IValidateLoginAttemptCbOpts { type: string; allowed: boolean;