Unsafe construction of a(n) `error` type typed value

First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.

What I’m trying to do

I can’t for the life of me figure out why everything is marked as an error. For some reason even declaring type still counts it as an ‘any’ or ‘error’ type. I don’t understand why though.

Things I have tried

Have the relevant types been imported correctly?

import { MarkdownView, Notice } from "obsidian";

Yes they have. If I try reverting to before my changes by using git, it fills with more errors.
import {App, Editor, MarkdownFileInfo, MarkdownView, Modal, Notice, Plugin, TFile} from ‘obsidian’;

import {DEFAULT_SETTINGS, ArcanistBudgetSettings, ArcanistBudgetSettingTab} from “./Settings”;

import {ArcanistBudget} from “./ArcanistBudget”;