queue/source/index.ts

13 lines
247 B
TypeScript
Raw Normal View History

2020-11-11 17:17:37 +00:00
import {html} from 'htm/preact';
type QMessageAction = 'queue open url' | 'queue update badge';
2020-11-11 17:17:37 +00:00
export type QMessage<T> = {
action: QMessageAction;
data: T;
};
export type QComponent = ReturnType<typeof html>;
export * from './utilities';