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 Examples #1599
TypeScript Examples #1599
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getting Cannot find module 'styletron-engine-atomic'.ts(2307)
errors when running the code sandbox. is that to be expected?
const globby = require('globby'); | ||
const path = require('path'); | ||
|
||
(async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙇
Not expected. What example is failing? |
this link - https://codesandbox.io/s/0swb2?module=/example.tsx (first button example) it took about 15 seconds to display the error |
Oh right, added missing |
* feat(examples): add TSX version, WIP * feat(ts-examples): more fixes * feat(ts-example): fix the rest of examples * feat(ts-examples): add it to the lang selection WIP * feat(ts-examples): deploy TS version to cra-ts instance * feat(ts-example): comment * feat(ts-examples): fix flow examples, something got borked * feat(ts-example): add example validation * feat(ts-examples): ts for pin code component * fix(examples): remove all <{}> from JS source * fix(examples): <any, any> doesn't pass through the flow removal * fix(examples): fix table react-vis codesandbox examples * feat(ts-examples): add mising styletron types for codesandbox
All flow (.js) examples now have .tsx counterparts. Visible to users and also integrated with CodeSandbox.