mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-02 00:07:56 +01:00
17 lines
315 B
TypeScript
17 lines
315 B
TypeScript
// Copyright 2019 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
import type { ReadonlyDeep } from 'type-fest';
|
|
|
|
export type NoopActionType = ReadonlyDeep<{
|
|
type: 'NOOP';
|
|
payload: null;
|
|
}>;
|
|
|
|
export function noopAction(): NoopActionType {
|
|
return {
|
|
type: 'NOOP',
|
|
payload: null,
|
|
};
|
|
}
|