Skip to content

Commit 8a631fe

Browse files
committed
refactor: change parameter type from 'any' to 'unknown' in updateConfig function for better type safety
1 parent 0544876 commit 8a631fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function selectMagentoRootFolder(config: vscode.WorkspaceConfiguration, context:
4343
});
4444
}
4545

46-
function updateConfig(config: vscode.WorkspaceConfiguration, key: string, value: any) {
46+
function updateConfig(config: vscode.WorkspaceConfiguration, key: string, value: unknown) {
4747
return config.update(key, value, vscode.ConfigurationTarget.Workspace);
4848
}
4949

0 commit comments

Comments
 (0)