You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running via Spring preloader in process 1234
create app/javascript/components/HelloTypescript.ts(x)
Actual behavior
Running via Spring preloader in process 1234
create app/javascript/components/HelloTypescript.js
When I have run bundle exec rails webpacker:install:typescript or when I specify --ts after the generate react:component, I'd like it to create a Typescript component instead of a JS one. (I see there is a --coffee flag too, so a --ts flag would be nice)
The text was updated successfully, but these errors were encountered:
@richarddewit I've not used Typescript before, but it's clearly popular and pretty widely supported by major players already so we would welcome a PR if you're able to do so.
Expected behavior
Actual behavior
When I have run
bundle exec rails webpacker:install:typescript
or when I specify--ts
after the generatereact:component
, I'd like it to create a Typescript component instead of a JS one. (I see there is a--coffee
flag too, so a--ts
flag would be nice)The text was updated successfully, but these errors were encountered: