EndoJS
    Preparing search index...

    Type Alias MakeInterfaceGuardStrict

    MakeInterfaceGuardStrict: <M extends Record<PropertyKey, MethodGuard>>(
        interfaceName: string,
        methodGuards: M,
        options: { defaultGuards?: undefined; sloppy?: false },
    ) => InterfaceGuard<M>

    Overload for strictly-typed interface guards (no sloppy mode).

    Type Declaration

      • <M extends Record<PropertyKey, MethodGuard>>(
            interfaceName: string,
            methodGuards: M,
            options: { defaultGuards?: undefined; sloppy?: false },
        ): InterfaceGuard<M>
      • Type Parameters

        Parameters

        • interfaceName: string
        • methodGuards: M
        • options: { defaultGuards?: undefined; sloppy?: false }
          • OptionaldefaultGuards?: undefined
          • Optionalsloppy?: false

            This has no effect.

        Returns InterfaceGuard<M>