Skip to content

Extension

Extension represents a named and optionally versioned extension library configured in the environment.

new Extension(name, version?): Extension

Constructor creates a serializable Extension from a name and version string.

string

string = ""

Extension

name: string


version: string = ""

validate(): Error | undefined

Validate validates the extension configuration is well-formed.

Error | undefined


versionNumber(): number

VersionNumber returns the parsed version string, or throws if the version cannot be parsed.

number