UNPKG

angular-news-api

Version:

This Library provides everything you need to use the NewsAPI from you Angular app the way it should be: using Observables, Types and Dependency Injection.

6 lines (5 loc) 234 B
import { ModuleWithProviders } from '@angular/core'; import { NewsApiKeyConfig } from './interfaces/newsapi.models'; export declare class NgnewsModule { static forRoot(newsApiConfig: NewsApiKeyConfig): ModuleWithProviders; }