decap-cms
decap-cms copied to clipboard
fix(#7410): add proper typings for registerWidget and CmsBackendClass
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.
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!
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.