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 scaffolding to publish types #161

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

laupow
Copy link
Contributor

@laupow laupow commented May 23, 2023

This PR currently:

  • adds capability to generate type definitions
  • adds Blocks API as the first type
  • variety of docs fixes (132488d) that simply installing TypeScript pointed out

I want the PR to also:

  • point IDEs to function definitions. The screenshot below shows an attempt to click through to the function definition that doesn't work right now. It happens on master, too, so it's not a regression. I am not sure the cause of this. Screenshot 2023-05-23 at 2 12 00 PM
  • replace babel with typescript?? I think it could be possible

Sharing for preliminary feedback on:

  1. is this the right repo for the types?
  2. does the approach look correct and maintainable?
  3. what is the babel => typescript impact for browser code?

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

Successfully merging this pull request may close these issues.

1 participant