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

Convert more js to ts #101

Merged
merged 7 commits into from
Jul 8, 2024
Merged

Convert more js to ts #101

merged 7 commits into from
Jul 8, 2024

Conversation

pythongosssss
Copy link
Member

Added two d.ts files for ComfyUI extensions of Litegraph types / missing types from their definitions (we should upstream these once the plan for that is settled)
Augmenting the LiteGraph type didn't work nicely for me, so I had to do some extra imports/exports that I've not had to do previously and put it in its own file - any suggestions/comments on that (src/types/litegraph-core-augmentation.d.ts)?

Moved PrimitiveNode up in the file to a higher scope so other scopes had access to the type.

Copy link
Member

@huchenlei huchenlei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@huchenlei huchenlei added the enhancement New feature or request label Jul 8, 2024
@pythongosssss pythongosssss marked this pull request as ready for review July 8, 2024 16:20
@pythongosssss pythongosssss merged commit 9762b78 into main Jul 8, 2024
4 checks passed
@pythongosssss pythongosssss deleted the js-to-ts branch July 8, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants