ts-playground
    Preparing search index...
    • utility function to bind this as the first argument of a function remaining arguments are passed as is to the original function

      Type Parameters

      • T
      • A extends unknown[]
      • R

      Parameters

      • fn: (dummyThis: T, ...args: A) => R

      Returns (this: T, ...args: A) => R