Endo API documentation
    Preparing search index...

    Type Alias MakeInterfaceGuardSloppy

    MakeInterfaceGuardSloppy: (
        interfaceName: string,
        methodGuards: any,
        options: { defaultGuards?: "passable" | "raw"; sloppy?: true },
    ) => InterfaceGuard<any>

    Overload for sloppy interface guards (looser typing).

    Type declaration

      • (
            interfaceName: string,
            methodGuards: any,
            options: { defaultGuards?: "passable" | "raw"; sloppy?: true },
        ): InterfaceGuard<any>
      • Parameters

        • interfaceName: string
        • methodGuards: any
        • options: { defaultGuards?: "passable" | "raw"; sloppy?: true }
          • OptionaldefaultGuards?: "passable" | "raw"
          • Optionalsloppy?: true

            Use defaultGuards: undefined instead.

        Returns InterfaceGuard<any>