1.0.1 • Published 3 years ago
tsdoist v1.0.1
import { Todoist } from 'tsdoist';
let td = new Todoist('0123456789abcdef0123456789abcdef01234567');
td.getTasks().then(console.log);
Notes and warnings
- Zod and TypeScript are unable to correctly deal with strict union arguments, so
createTask
,updateTask
, and most of theComment
-related functions will not throw a compile-time error when you pass too many of a set of arguments (see here, here, and here for more info). - Files are not currently supported, and the
attachment
field is currently missing from theComment
type and from thecreateComment
options.