Ok so apparently the scripts in angular.json were in conflict with the scripts in the index.html, so, overall these are the modifications
angular.json
"scripts": [],
index.html: kept the scripts with the CDNs
tsconfig.json: updated the right path for the type "d.ts"
leaflet.d.ts: introduced the class Geodesic instead of namespace.
Cleared package.json of any leaflet packages