Skip to content

Commit 9b82222

Browse files
committed
Fix an unknown type error
1 parent 3ba1c23 commit 9b82222

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export async function activate(context: vscode.ExtensionContext) {
3535
if (cppTools && cppTools.isActive) {
3636
const cppToolsConfiguration =
3737
vscode.workspace.getConfiguration('C_Cpp');
38-
const cppToolsEnabled = cppToolsConfiguration.get('intelliSenseEngine');
38+
const cppToolsEnabled =
39+
cppToolsConfiguration.get<string>('intelliSenseEngine');
3940
if (cppToolsEnabled?.toLowerCase() !== 'disabled') {
4041
vscode.window
4142
.showWarningMessage(

0 commit comments

Comments
 (0)