mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 21:11:38 +01:00
Fix more type assertions (#230156)
* Fix more type assertions For #211878 * Fix type error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user