graphitation
graphitation copied to clipboard
contextPath relative to CWD and resolvers return readonly array
I think we should consider having Readonly in PromiseOrValue type instead. This will make generated types a bit more readable.
@freiksenet @vejrj what do you think?
Yeah, this looks good. Let's do that.
Generic immutable seems to be a hard thing to do right (see full discussion in this thread).
So, for now we'll have to stick with explicit ReadonlyArray. We can revisit it a bit later for our specific case, that doesn't really require a generic solution.