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

fix: generator type declarations #6412

Merged
merged 2 commits into from
Sep 17, 2022

Conversation

BeksOmega
Copy link
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Work on #6358

Proposed Changes

Fixes the type declarations for the generators. They're still typed as any until we actually convert the generators to typescript, but at least the declarations match the way you're supposed to import the generators.

Behavior Before Change

Import5ing the generators the correct way would result in type errors.

Behavior After Change

No type errors!

Reason for Changes

Type errors make me sad =(

Test Coverage

Linked to the dev tools plugin with google/blockly-samples#1236 implemented.

Documentation

We need to update the documentation on importing the generators before the release. But that's my job!

Additional Information

N/A

@BeksOmega BeksOmega merged commit b2fa356 into google:develop Sep 17, 2022
@BeksOmega BeksOmega deleted the fix/generator-declarations branch October 4, 2022 18:13
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.

None yet

2 participants