import { List, Map } from 'immutable' /* * If the value passed in is structurally equal to the one saved in the ref, * it will return the one saved in the ref to preserve reference equality */ export function useImmutable | Map | any>(value: T): T