Interface TaskDefinition

interface TaskDefinition {
    type: string;
    [name: string]: any;
}

Indexable

[name: string]: any

Additional attributes of a concrete task definition.

Properties

Properties

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.