-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 Typescript typings for generators #2995
Labels
Milestone
Comments
samelhusseini
added
issue: feature request
Describes a new feature and why it should be added
issue: triage
Issues awaiting triage by a Blockly team member
labels
Sep 10, 2019
moniika
removed
the
issue: triage
Issues awaiting triage by a Blockly team member
label
Sep 10, 2019
Any updates on this? I wrote the following workaround in my project: declare module 'blockly/javascript' {
import { Generator } from 'blockly';
const instance: Generator;
export = instance;
} but that still doesn't give it the additional properties defined on the |
72 tasks
This was fixed by all the work done to convert the generators to TypeScript (see issue #6828). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is your feature request related to a problem? Please describe.
Include Typescript definitions for Blockly generators.
Describe the solution you'd like
scan the generator directory as part of the typescript definition generation:
https://github.com/google/blockly/tree/master/generators
Feature requested on forums:
https://groups.google.com/forum/#!topic/blockly/Su046eekUZY
The text was updated successfully, but these errors were encountered: