Counter.d.ts 247 B

1234567
  1. export type CounterType = {
  2. get: () => number;
  3. set: (n: number) => CounterType;
  4. add: (n: number) => CounterType;
  5. clone: () => CounterType;
  6. };
  7. export declare function Counter(max: number, start: number, loop: boolean): CounterType;