TaskSpec
Nadle / TaskSpec
Type Alias: TaskSpec<Options>
TaskSpec<
Options> =TaskConfiguration& [void] extends [Options] ?object:objectextendsOptions?object:object
Defined in: packages/nadle/src/core/registration/api.ts:58
A task registration spec. run/options are required when the task body's
Options has required fields, optional otherwise. Config fields
(group, dependsOn, …) come from TaskConfiguration and sit directly on the spec.
run and options are reserved keys and must never be added to TaskConfiguration.
Type Parameters
Options
Options = void