drafts-script-reference
drafts-script-reference copied to clipboard
`Todoist.create()` documentation says argument is optional, but type def does not reflect that
Playing around with the Todoist integration for scripting, and my linter in VSCode was yelling at me because of the the following:

I think it's because this:
https://github.com/agiletortoise/drafts-script-reference/blob/fcfa91a8bd5c5b9c10f06089fc6e288c32279778/src/Todoist.d.ts#L190-L194
Needs to be:
static create(identifier?: string): Todoist
When I fixed that locally, my linter stopped complaining.