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

export type CharacterEventJson = string;

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