astrolicious/studiocms

Chore: Fix Type casting errors

Closed this issue · 1 comments

There is a ton of errors from before the types where being properly inferred across the repo. These need to be fixed to clean up the code-base. Thankfully i already built a data helper for making this easier, and to simplify the process it would help to just move all the DB calls to use this helper! contentHelper.ts

Example of the type errors I'm getting in VSCode
image
image

Branch issue-0139 created for issue: Chore: Fix Type casting errors