tailored icon indicating copy to clipboard operation
tailored copied to clipboard

Are adding TypeScript types possible?

Open tabeth opened this issue 6 years ago • 2 comments

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.

tabeth avatar Dec 12 '18 13:12 tabeth

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.

bryanjos avatar Dec 17 '18 18:12 bryanjos

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.

tabeth avatar Dec 18 '18 17:12 tabeth