TaskOptions

TaskOptions = TaskSpec

Source: dag.ts:553

The trailing argument of dag.task(): the task's own TaskSpec.

Every field is optional, and an unknown key is rejected, so a misspelled field is an error rather than a task that quietly ignores it.