Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TaskDefinition

A structure that defines a task kind in the system. The value must be JSON-stringifyable.

Hierarchy

  • TaskDefinition

Indexable

[name: string]: any

Additional attributes of a concrete task definition.

Index

Properties(1)

Properties(1)

Readonly type

type: string

The task definition describing the task provided by an extension. Usually a task provider defines more properties to identify a task. They need to be defined in the package.json of the extension under the 'taskDefinitions' extension point. The npm task definition for example looks like this

interface NpmTaskDefinition extends TaskDefinition {
    script: string;
}

Note that type identifier starting with a '$' are reserved for internal usages and shouldn't be used by extensions.

Generated by TypeDoc. Maintained by 紫升

Links: 搜外友链, 69中文网