Algorand TypeScript
    Preparing search index...

    Function baremethod

    • Declares the decorated method as a baremethod that can only be called with no transaction args

      Type Parameters

      • TContract extends Contract

        the type of the contract this method is a part of

      Parameters

      Returns <TArgs extends any[], TReturn>(
          target: (this: TContract, ...args: TArgs) => TReturn,
          ctx: ClassMethodDecoratorContext<TContract>,
      ) => (this: TContract, ...args: TArgs) => TReturn