When i update from angular 12 to 13, the code got compiled successfully but while running the application, in console, the above error message is coming.

Using "ngx-restangular": "^6.0.0",
Added the RestangularModule.forRoot() in app.module under imports
Please help me resolve this issue