Skip to content

Commit 91d0bcb

Browse files
committed
drop an unnecessary cast
1 parent 1f27e5b commit 91d0bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ export class CppSettings extends Settings {
478478
return val as string;
479479
}
480480
public get cppCodeSnippetsFeatureNames(): string | undefined {
481-
return super.Section.get<any>("cppCodeSnippetsFeatureNames") as string | undefined;
481+
return super.Section.get<string>("cppCodeSnippetsFeatureNames");
482482
}
483483
public get formattingEngine(): string { return this.getAsString("formatting"); }
484484
public get vcFormatIndentBraces(): boolean { return this.getAsBoolean("vcFormat.indent.braces"); }

0 commit comments

Comments
 (0)