8 lines
298 B
TypeScript
8 lines
298 B
TypeScript
import { substitutes } from 'lib/icons';
|
|
import { EventArgs } from './widget';
|
|
|
|
type SubstituteKeys = keyof typeof substitutes;
|
|
|
|
export type ThrottleFn = (cmd: string, args: EventArgs, fn?: (output: string) => void) => void;
|
|
export type ThrottleFnCallback = ((output: string) => void) | undefined;
|