Moving to typescript #51
Replies: 2 comments 3 replies
-
Hi @bastienrobert. I appreciate the effort but I will not accept a PR to convert the project to Typescript. For various reasons I won't get into here, I do not personally use or want to use Typescript on this project. That said, I believe it is possible for a library based on JS to ship types that give hints and make it more usable as a dependency within Typescript projects. It's something that's been on my backlog to look into for a while as I'm not sure on exact details, but I haven't got around to it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion off as I don't believe there's anything more to discuss here, but feel free to correct me if appropriate! |
Beta Was this translation helpful? Give feedback.
-
I'm thinking of opening a PR to move the code to typescript (or at least generate typings and put them in DefinitelyTyped).
I think there might be some limitations due to the new API, regarding the new methods added to the
Alpine
object.I've already converted the codebase and generated the types, there's still a bit of work to do on the bundler, but I think it's a good start.
https://github.com/bastienrobert/async-alpine/tree/feat/move-to-typescript
Beta Was this translation helpful? Give feedback.
All reactions