跳到主要内容
版本号:Next

Class: Plugin<PluginConfig>

pluginUtils.Plugin

The base plugin class, set of utilities for developing plugins.

Type parameters

Name
PluginConfig

Hierarchy

Constructors

constructor

new Plugin<PluginConfig>(config, options)

Type parameters

Name
PluginConfig

Parameters

NameType
configPluginConfig
optionsPluginOptions

Defined in

plugin-utils.ts:38

Properties

config

Readonly config: unknown

Defined in

plugin-utils.ts:36


options

Readonly options: PluginOptions

Defined in

plugin-utils.ts:37


version

Readonly version: number

Defined in

plugin-utils.ts:35


version

Static version: number = 1

Defined in

plugin-utils.ts:34

Methods

getVersion

getVersion(): number

Returns

number

Defined in

plugin-utils.ts:44