/** * Types for the logger plugin. * This file must be put alongside the JavaScript file of the logger. */ import { MutationObject, Plugin } from './types/index' export interface LoggerOption { collapsed?: boolean; transformer?: (state: S) => any; mutationTransformer?: (mutation: MutationObject) => any; } export default function createLogger(option: LoggerOption): Plugin;