bind-decorator

  • Version 1.0.11
  • Published
  • No dependencies
  • MIT license

Install

npm i bind-decorator
yarn add bind-decorator
pnpm add bind-decorator

Overview

The fastest automatic method.bind(this) decorator

Index

Functions

Functions

function bind

bind: <T extends Function>(
target: object,
propertyKey: string,
descriptor: TypedPropertyDescriptor<T>
) => TypedPropertyDescriptor<T> | void;

    Package Files (1)

    Dependencies (0)

    No dependencies.

    Dev Dependencies (5)

    Peer Dependencies (0)

    No peer dependencies.

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/bind-decorator.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/bind-decorator)
    • HTML
      <a href="https://www.jsdocs.io/package/bind-decorator"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>