Repository navigation
Conversation
akzarma
force-pushed
the
fix/editly-326-render-single-frame-types
branch
from
November 21, 2026 12:30
a2dc162 to
27eba96
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #326.
The declaration bundle can infer the static property from itself and fail with TS2502 when checking dependencies. Attach the same function through Object.assign so the exported value is still the same callable with the same property, but its declaration uses an intersection type.
Validation: Reproduced TS2502 in the published 0.15.0-rc.1 declaration and a fresh build with pkgroll 2.6.1. With the patch, a TypeScript 5.9.3 consumer with skipLibCheck disabled compiled against the generated package, exercising the named and static renderSingleFrame exports and the default callable. The focused test pinned gl-transitions to the repository’s declared minimum 1.43.0 in the local test environment to isolate the declaration bug. No test-only shim or dependency change was committed. Native render tests were not run.
Prepared and tested with AI assistance.