Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some documentation for using stimulus with typescript #540

Merged
merged 1 commit into from
May 1, 2022

Conversation

alexander-schranz
Copy link
Contributor

This PR add some basic documentation for using stimulus with typescript. It also documents the changes of #529 how define the type of this.element.

@dhh dhh merged commit 30933d6 into hotwired:main May 1, 2022
@alexander-schranz alexander-schranz deleted the feature/typescript-docs branch May 1, 2022 13:02
@marcoroth
Copy link
Member

Thanks @alexander-schranz!

@alexander-schranz
Copy link
Contributor Author

Thx for merging :). Does stimulus follow a specific release cycle? Or do you know if any release is planned?

@BuddyLReno
Copy link

I second this. Would really love to get this into my project!

@misterhtmlcss
Copy link

misterhtmlcss commented Jul 6, 2022

@BuddyLReno @alexander-schranz I was just thinking the same thing, but I wonder if DHH is soaked with strada and that's why the bottle next to release is the way it is.... So maybe the issue will resolve itself once Strada is out. Fingers Crossed.

@marcoroth
Copy link
Member

Stimulus and Turbo are kinda following the same release schedule. Since the next minor Turbo release is not quite ready yet means that Stimulus also hasn't gotten a release.

There are a few things open which hold back a new Stimulus release. But it might just make sense to push out a 3.0.2 version with the few changes we have since the last release.

@dhh
Copy link
Member

dhh commented Jul 14, 2022

I've deployed the documentation changes from here. Now live at https://stimulus.hotwired.dev/reference/using_typescript/

@alexander-schranz
Copy link
Contributor Author

@dhh Thank you! The generic part only works when the already merged #529 is released.

@dhh
Copy link
Member

dhh commented Jul 15, 2022

Ah. Should probably have split those out in separate PRs, then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants