Skip to content

Commit 53f9d4e

Browse files
committed
fix ts error, nobody saw that
1 parent 32c1fbf commit 53f9d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript/test/defaultSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const getDefaultConfig = async () => {
88
throw new Error('Run vscode-framework build before running tests!')
99
}
1010
return Object.fromEntries(
11-
Object.entries(configProps).map(([setting, { default: defaultValue }]) => {
11+
Object.entries(configProps as Record<string, any>).map(([setting, { default: defaultValue }]) => {
1212
const settingWithoutPrefix = setting.split('.').slice(1).join('.')
1313
if (defaultValue === undefined) throw new Error(`${settingWithoutPrefix} doesn't have default value!`)
1414
return [settingWithoutPrefix, defaultValue]

0 commit comments

Comments
 (0)