swimlane/ngx-ui

View on GitHub
projects/swimlane/ngx-ui/src/lib/decorators/debounceable/debounceable.fixture.ts

Summary

Maintainability
A
30 mins
Test Coverage
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { debounceable } from './debounceable.decorator';

export class DebounceableFixture {
  @debounceable(10)
  fn() {
    this.doSomething();
  }

  doSomething() {
    // do something here
  }
}