Skip to content

Commit

Permalink
drop an unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
lukka committed Feb 5, 2025
1 parent 1f27e5b commit 91d0bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension/src/LanguageServer/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ export class CppSettings extends Settings {
return val as string;
}
public get cppCodeSnippetsFeatureNames(): string | undefined {
return super.Section.get<any>("cppCodeSnippetsFeatureNames") as string | undefined;
return super.Section.get<string>("cppCodeSnippetsFeatureNames");
}
public get formattingEngine(): string { return this.getAsString("formatting"); }
public get vcFormatIndentBraces(): boolean { return this.getAsBoolean("vcFormat.indent.braces"); }
Expand Down

0 comments on commit 91d0bcb

Please sign in to comment.