import { EventJsonDecoder } from './event-json';

export type LinkEventJson = string;

export const decodeLinkEventJson: EventJsonDecoder<LinkEventJson> = (
  message: string
) => {
  return message as LinkEventJson;
};
