Function: updateExtension()
function updateExtension(
dirs,
name,
options?
): Promise<{
from?: string;
name: string;
scope: keyof ExtensionDirs;
to?: string;
}>;
Defined in: core/extensionCatalog.ts:186
Updates an installed extension from the marketplace it came from: a fresh copy of the
marketplace, then installed again in the same scope (its data and options kept). One that
didn't come from a marketplace is installed again with extension add.
Parameters
| Parameter | Type |
|---|---|
dirs | ExtensionDirs |
name | string |
options | { official?: string; } |
options.official? | string |
Returns
Promise<{
from?: string;
name: string;
scope: keyof ExtensionDirs;
to?: string;
}>