-
Notifications
You must be signed in to change notification settings - Fork 35
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
Use some-kind of type validator #21
Comments
Are you suggesting that we rewrite it in TypeScript? I wouldn't mind. |
Worth thinking about the fact the minimalcss isn't much of a lib. It's just an elaborate script around something much more powerful. |
We can use TypeScript for checking types in JS files.
Exactly. It is very hard to write unit tests, only integration tests make sense. But with type checker we can verify that we avoid some class of errors without huge test cases. |
Sure. I'm up for it. I've never actually used TypeScript and I'm eager to try it. Will you lead the way? |
For example puppeteer uses TypeScript to validate code based on jsdoc annotations puppeteer/puppeteer#986
Also flow can do some validation, but not sure if there is puppeteer type definitions.
The text was updated successfully, but these errors were encountered: