Class: VscodeGlobalState
ide/vscode/VscodeGlobalState.VscodeGlobalState
Implements
Constructors
constructor
• new VscodeGlobalState(extensionContext)
Parameters
| Name | Type |
|---|---|
extensionContext | ExtensionContext |
Defined in
ide/vscode/VscodeGlobalState.ts:10
Methods
get
▸ get(key): boolean
Return a value.
Parameters
| Name | Type |
|---|---|
key | "hideInferenceWarning" |
Returns
boolean
Implementation of
Defined in
ide/vscode/VscodeGlobalState.ts:15
set
▸ set(key, value): Thenable<void>
Store a value. The value must be JSON-stringifyable.
Parameters
| Name | Type |
|---|---|
key | "hideInferenceWarning" |
value | boolean |
Returns
Thenable<void>
Implementation of
Defined in
ide/vscode/VscodeGlobalState.ts:19