.ts
TypeScript
(application/typescript)
// 1st-party
import type { ServiceMethodFactory } from "@ethicdevs/react-monolith";
// app
import type { AuthServiceDeps } from "./types";

const makeComparePasswordHashes: ServiceMethodFactory<
  AuthServiceDeps,
  [string, string],
  boolean
> = (_) => {
  return (a, b) => {
    return a === b;
  };
};

export default makeComparePasswordHashes;