mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Fixes #127439: changes keys to a function
This commit is contained in:
@@ -56,7 +56,7 @@ export class ExtensionMemento implements vscode.Memento {
|
||||
}, 0);
|
||||
}
|
||||
|
||||
get keys(): readonly string[] {
|
||||
keys(): readonly string[] {
|
||||
// Filter out `undefined` values, as they can stick around in the `_value` until the `onDidChangeStorage` event runs
|
||||
return Object.entries(this._value ?? {}).filter(([, value]) => value !== undefined).map(([key]) => key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user