todo-txt-cli
Version:
A CLI for todo.txt files - http://todotxt.org/
17 lines (16 loc) • 481 B
TypeScript
/**
* @typedef {import('#tasks.js').Tasks} Tasks
*/
/**
* @typedef {object} Adapter
* @property {() => Promise<Tasks|undefined>} load
* @property {(tasks: Tasks) => Promise<void>} store
* @property {(tasks: Tasks) => Promise<void>} archive
*/
export const __: null;
export type Tasks = import("#tasks.js").Tasks;
export type Adapter = {
load: () => Promise<Tasks | undefined>;
store: (tasks: Tasks) => Promise<void>;
archive: (tasks: Tasks) => Promise<void>;
};