Those all look like TypeScript errors. Types are supposed to be strictly defined with all the properties in each object, if they aren't all correctly defined TypeScript will throw an error. But just because TypeScript says something won't work, doesn't mean it won't actually work. TypeScript errors should be treated more as warnings that you could be doing something wrong.
GIS Developer
City of Arlington, Texas