9 lines
275 B
TypeScript
9 lines
275 B
TypeScript
|
|
import type { Callback } from './types.js';
|
||
|
|
declare const isFunction: (value: unknown) => value is Function;
|
||
|
|
declare const makeCounterPromise: () => {
|
||
|
|
promise: Promise<void>;
|
||
|
|
increment: Callback;
|
||
|
|
decrement: Callback;
|
||
|
|
};
|
||
|
|
export { isFunction, makeCounterPromise };
|