mifi / mifi/editly

TypeScript 'renderSingleFrame' is referenced directly or indirectly in its own type annotation.

Open
#326 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
374
PR merge metrics
No merged PRs in 30d

Description

I get this error when using latest editly@0.15.0-rc.1 package
Any ideas how this can be fixed?
For now I just use
tsconfig.json
"skipLibCheck": true

node_modules/editly/dist/index.d.ts:850:9 - error TS2502: 'renderSingleFrame' is referenced directly or indirectly in its own type annotation.

850     var renderSingleFrame: typeof renderSingleFrame;
            ~~~~~~~~~~~~~~~~~

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported declaration at node_modules/editly/dist/index.d.ts:850 and reproduce the TS2502 error without skipLibCheck. Trace where this declaration is produced, then verify that the published package type-checks without the self-referential annotation or compiler error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.