queue/source/index.ts

13 lines
224 B
TypeScript

import {html} from 'htm/preact';
type QMessageAction = 'queue open url';
export type QMessage<T> = {
action: QMessageAction;
data: T;
};
export type QComponent = ReturnType<typeof html>;
export * from './utilities';