• Type Parameters

    • I extends ((...args: any[]) => any)
    • M extends Methods

    Parameters

    • tag: string
    • interfaceGuard: undefined | ExoClassInterfaceGuard<M>
    • init: I
    • methods: ExoClassMethods<M, I>
    • Optionaloptions: FarClassOptions<ClassContext<ReturnType<I>, M>>

    Returns ((...args: Parameters<I>) => Guarded<M>)

      • (...args): Guarded<M>
      • Parameters

        • Rest...args: Parameters<I>

        Returns Guarded<M>