You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
changePassword
Alias for changeUserPassword method.
changePassword: typeof changeUserPasswordAlias for changeUserPassword method.
changePassword: typeof changeUserPassword