NS_HTTP_PROVIDERS not implemented


I was trying to use some angular http call. The error was some “not implemented”. I googled it. it was addressed in this post


But then I followed the solution to import

import {NS_HTTP_PROVIDERS} from 'nativescript-angular/http';

Typescript starts complaining

Module '"/Users/........../node_modules/nativescript-angular/http"' has no exported member 'NS_HTTP_PROVIDERS'.

What is the latest solution for this now? Thank you in advance.