We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c1fbf commit 53f9d4eCopy full SHA for 53f9d4e
typescript/test/defaultSettings.ts
@@ -8,7 +8,7 @@ export const getDefaultConfig = async () => {
8
throw new Error('Run vscode-framework build before running tests!')
9
}
10
return Object.fromEntries(
11
- Object.entries(configProps).map(([setting, { default: defaultValue }]) => {
+ Object.entries(configProps as Record<string, any>).map(([setting, { default: defaultValue }]) => {
12
const settingWithoutPrefix = setting.split('.').slice(1).join('.')
13
if (defaultValue === undefined) throw new Error(`${settingWithoutPrefix} doesn't have default value!`)
14
return [settingWithoutPrefix, defaultValue]
0 commit comments