Fix more type assertions (#230156)

* Fix more type assertions

For #211878

* Fix type error
This commit is contained in:
Matt Bierner
2024-09-30 14:17:06 -07:00
committed by GitHub
parent 27d54aa27a
commit 51fa4d0172
25 changed files with 114 additions and 98 deletions

View File

@@ -283,7 +283,7 @@ async function destroyAttachServer() {
interface CachedIpcState {
ipcAddress: string;
jsDebugPath: string;
jsDebugPath: string | undefined;
settingsValue: string;
}
@@ -388,7 +388,7 @@ async function getIpcAddress(context: vscode.ExtensionContext) {
ipcAddress,
jsDebugPath,
settingsValue,
} as CachedIpcState);
} satisfies CachedIpcState);
return ipcAddress;
}