type property

String get type

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.

Implementation

_i2.String get type => _i5.getProperty(
      this,
      'type',
    );