decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

fix(#7410): add proper typings for registerWidget and CmsBackendClass

Open fgnass opened this issue 10 months ago • 2 comments

This is a follow-up PR that supersedes #7402 and fixes #7410.

It also addresses the // TODO: type properly comment that was previously in index.d.ts

In general, this shows how we can gradually migrate the codebase to TypeScript.

fgnass avatar Feb 24 '25 17:02 fgnass

That is a big diff to review 😅 We are working on some other features at the moment, I really hope to get to your PRs soon!

martinjagodic avatar Feb 25 '25 08:02 martinjagodic

I know 😅 No worries, I'm happily using my fork in the meantime. I squashed the commits of the parent PR to at least reduce the number of commits in this one and make it possible to review both in sequence. Let me know if there is anything else I can do to make your life easier.

fgnass avatar Feb 25 '25 08:02 fgnass