Skip to main content
Version: 0.22.0

Function: setExtensionOptions()

function setExtensionOptions(
where,
name,
typed
): Promise<void>;

Defined in: core/externalExtensions.ts:706

Sets an installed extension's options (#55), each from what the person typed (undefined clears it), checked against its userConfig: sensitive ones into the scope's secrets, the rest into its lock. A running session's servers take them when they start again.

Parameters​

ParameterType
wherestring | InstalledExtension
namestring
typedRecord<string, string | undefined>

Returns​

Promise<void>