Skip to content

Commit 2ffd921

Browse files
authored
Use optional arg in client constructor instead of | undefined (#5140)
1 parent de6ddc2 commit 2ffd921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/configurations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export class CppProperties {
137137
// we want to track when the default includes have been added to it.
138138
private configurationIncomplete: boolean = true;
139139

140-
constructor(rootUri: vscode.Uri | undefined, workspaceFolder: vscode.WorkspaceFolder | undefined) {
140+
constructor(rootUri?: vscode.Uri, workspaceFolder?: vscode.WorkspaceFolder) {
141141
this.rootUri = rootUri;
142142
let rootPath: string = rootUri ? rootUri.fsPath : "";
143143
if (workspaceFolder) {

0 commit comments

Comments
 (0)