tailored
tailored copied to clipboard
Are adding TypeScript types possible?
First off: this is a pretty interesting project. I really like that the ergonomics of using this is similar to Elixir, which obviously is no coincidence given that this is meant to be used with elixirscript
. Awesome work!
With that being said, I do think there are interesting use cases here independent of elixirscript
. I'm considering adding Types to this, and was wondering if that seems feasible. Looking at defmatch.js
, and match.js
: it definitely seems like it's in the realm of possibility.
Before I do that I was wondering what the status of the project is? Would this be (necessarily) maintained with ongoing development of elixirscript
itself? Or would you say that tailored
is pretty much in maintenance mode and is feature complete?
Depending on the status it may be worth holding off on adding types, especially if significant changes are coming.
Hey @tabeth yes, types could be added here. I think the other elixirscript-related javascript libs have been rewritten to typescript but I haven't got around to this one.
Oh OK, cool. I've started a definition file locally, but if you were planning on rewriting to TypeScript I could help out with that instead.