I am working on a migration project. Need to migrate from angular 7 to angular latest. I see angular/cli 16 is the latest version. Few named exports are not found by the angular compiler for below. I searched in google, I couldn't any alternative way to use these modules. Any suggestions/recommendations to make this workable.
- error TS2307: Cannot find module '@angular/compiler/src/output/output_ast' or its corresponding type declarations.
import { THIS_EXPR } from '@angular/compiler/src/output/output_ast';
error TS2339: Property 'msSaveBlob' does not exist on type 'Navigator'. if (window.navigator && window.navigator.msSaveBlob) {
error TS2307: Cannot find module '@angular/compiler/src/render3/r3_ast' or its corresponding type declarations.
import { transformAll } from '@angular/compiler/src/render3/r3_ast';
Couldn't find any alternative way.