Axel Rauschmayer
Axel Rauschmayer
Thanks! Suggestion: a brief section in the proposal that explains why function declarations can’t be decorated.
I agree: * I almost never use enums as lookup tables, but as collections of named values. * Being able to define custom methods and properties is often helpful. *...
The good thing would be that wouldn’t need a plugin (for the text editor) with this approach – whenever you save the file, it is re-evaluated. I.e., this works with...
@jamg44 You’d have to write your own utilities (e.g. via generators): * A function that returns an iterable over `[currentValue, nextValue]` (the latter being `undefined` for the last `currentValue`. *...
Not sure how exactly npm let this happen, but I fixed it, thanks!
I like this idea! Isn’t this the pipeline operator, though? Could the pipeline operator be used here?
Cool, I think it would be valuable to have this fleshed out more, because the question about real-word TypeScript projects comes up frequently. Once you have this set up, you...
Ideally, this would work with both JS code and be truly functional at the same time. Not sure that’s possible, though – it’s a tall order.
> Would you want Pagefind to have its own incremental detection/handling, or would you be passing Pagefind a list of files to index that have been changed, and Pagefind should...
On second thought – 3 kinds of files exist and should be supported for incremental updates: * Changed files * New files * Deleted files