Please modify your both the files as below.
tsconfig.app.json
"include": [
"src/**/*.d.ts",
"node_modules/agm-spiderfier/**/*.ts"
]
tsconfig.spec.json
"include": [
"src/**/*.spec.ts",
"src/**/*.d.ts",
"node_modules/agm-spiderfier/**/*.ts"
]
CLICK HERE to find out more related problems solutions.