queue/source/index.ts

13 lines
224 B
TypeScript
Raw Normal View History

2020-11-11 17:17:37 +00:00
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';