luhn-generator
Version:
A generator of numbers that passes the validation of Luhn algorithm or Luhn formula, also known as the 'modulus 10' or 'mod 10' algorithm
16 lines (15 loc) • 739 B
TypeScript
import { AsyncAction } from './AsyncAction';
import { AnimationFrameScheduler } from './AnimationFrameScheduler';
import { SchedulerAction } from '../types';
/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export declare class AnimationFrameAction<T> extends AsyncAction<T> {
protected scheduler: AnimationFrameScheduler;
protected work: (this: SchedulerAction<T>, state?: T) => void;
constructor(scheduler: AnimationFrameScheduler, work: (this: SchedulerAction<T>, state?: T) => void);
protected requestAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any;
protected recycleAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any;
}