mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
- Reallow non-JSON serializable complex types - Remove unnecessary JSON serialization step to IPC - Remove unnecesary injectable-ization of MessageChannel and RequestChannel declarations - Add channel listener injectable getter function to remove general need for type casting and improve type safety Signed-off-by: Sebastian Malton <sebastian@malton.name>
12 lines
440 B
TypeScript
12 lines
440 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
import type { MessageChannel } from "../utils/channel/message-channel-listener-injection-token";
|
|
|
|
export type RestartAndInstallUpdateChannel = MessageChannel<void>;
|
|
|
|
export const restartAndInstallUpdateChannel: RestartAndInstallUpdateChannel = {
|
|
id: "restart-and-install-update-channel",
|
|
};
|