Jonas Kello
Jonas Kello
Just found redisgraph and this lib and was excited to start using it. Well, fired it up and went ` yarn add --dev @types/redisgraph.js` and to my suprise there were...
Btw, forking a separate typescript client is probably not a good idea. There are no specific typescript libraries, there are only javascript libraries which provides typescript annotations. If this project...
Here's a link to the formatted document: https://github.com/jonaskello/loaders/blob/design-resolve-reuse/doc/design-resolve-reuse.md
I'm mostly interested in the utility functions approach, specifically for the resolve algorithm. I would suggest this way forward: - Extract some functions in [resolve.js](https://github.com/nodejs/node/blob/master/lib/internal/modules/esm/resolve.js) to a separate file `resolve-utils.js`....
Yes, thanks, that seems like an obvious next step now that you mention it :-). I've been working towards a more complete resolve function for typescript in [this repo](https://github.com/jonaskello/ts-resolve). In...
I've added an example API for the utility functions and example application code to call them. This is a rough first version that I arrived at when working on [ts-resolve](https://github.com/jonaskello/ts-resolve)....
@GeoffreyBooth I removed the file system hooks mention. Added an example resolve hook to resolve typescripts file. The example is not runnable at this point, it's more like a sketch...
@arcanis I cannot see how that would be done either. If I was tasked with doing something like that I would probably prefer to compose my own single loader from...
Sure, that makes sense. I currently have this in [ts-resolve](https://github.com/jonaskello/ts-resolve/blob/main/src/filesystem.ts) which I think is similar to what you suggest: ```ts export type FileSystem = { readonly cwd: () => string;...
I can see how this would work in a single resolver hook, but I think what @arcanis is referring to is when you chain two resolver hooks together. Today the...