mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Clean up markdown preview messaging (#176458)
- Add properties directly to message - Add `ImageInfo` type - Don't use state to pass around imageInfo
This commit is contained in:
@@ -25,7 +25,7 @@ export const createPosterForVsCode = (vscode: any, settingsManager: SettingsMana
|
||||
vscode.postMessage({
|
||||
type,
|
||||
source: settingsManager.settings!.source,
|
||||
body
|
||||
...body
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user