mobx-sync
mobx-sync copied to clipboard
Using formatters with TS interface
I have a simple interface
interface Todo {
title: string;
deadline: Date;
}
And it persists correctly. But is there a way for rehydrating Date object without rewriting this to class? I know, that this would be simple class, it's just I don't want to use one when it's not needed.