Interface ExtensionPack

interface ExtensionPack {
    name: string;
    version?: string;
    descriptors: ExtensionDescriptor<unknown>[];
    onActivate?: ((context) => void | Promise<void>) | (() => void | Promise<void>);
    onDeactivate?: ((context) => void | Promise<void>) | (() => void | Promise<void>);
}

Properties

name: string
version?: string
descriptors: ExtensionDescriptor<unknown>[]
onActivate?: ((context) => void | Promise<void>) | (() => void | Promise<void>)

Type declaration

Type declaration

    • (): void | Promise<void>
    • Returns void | Promise<void>

onDeactivate?: ((context) => void | Promise<void>) | (() => void | Promise<void>)

Type declaration

Type declaration

    • (): void | Promise<void>
    • Returns void | Promise<void>