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

Typescript #177

Open
krasevych opened this issue Jan 4, 2017 · 4 comments
Open

Typescript #177

krasevych opened this issue Jan 4, 2017 · 4 comments

Comments

@krasevych
Copy link

What do you think about add typescript or flow to the Meatier? static types can help you avoid mistakes and give a good inline doc for some plugins/libs... ?

@mattkrick
Copy link
Owner

I like flow more than typescript, but given the choice I'd still choose plain JS, maybe jsdoc if it's tricky stuff. If you've got any repos that might change my mind where flow typings look nicer than react proptypes lemme know!

@krasevych
Copy link
Author

why do you like flow more than typescript?

@mattkrick
Copy link
Owner

it's like a lightweight typescript. i can still use babel. maybe it wont be much of an issue moving forward, but the typescript transpiler couldn't do a lot of ES2015+ things that babel could do. making ts play nicely with webpack was such a chore.

@krasevych
Copy link
Author

ok thanks I will read some articles about static types and maybe I will change my mind

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

No branches or pull requests

2 participants