Skip to content

Commit

Permalink
refactor: expose types
Browse files Browse the repository at this point in the history
  • Loading branch information
isolomak committed Dec 4, 2022
1 parent b583ba1 commit b269f1f
Showing 1 changed file with 4 additions and 25 deletions.
29 changes: 4 additions & 25 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
import axios from 'axios';
import * as querystring from 'querystring';
import {
ApiNewsCategory,
ApiNewsCountry,
ApiNewsLanguage,
ApiNewsResponseStatus,
ApiNewsSort,
INewsApiArticle,
INewsApiEverythingParams,
INewsApiResponse,
INewsApiSource,
INewsApiSourceItem,
INewsApiSourceParams,
INewsApiResponse, INewsApiSourceParams,
INewsApiSourcesResponse,
INewsApiTopHeadlinesParams
} from './types';

export * from './types';

/**
* Breaking news headlines, and search for articles from news sources and blogs all over the web
*/
Expand Down Expand Up @@ -205,18 +198,4 @@ export default class NewsAPI {

}

export {
ApiNewsCountry,
ApiNewsLanguage,
ApiNewsResponseStatus,
ApiNewsCategory,
ApiNewsSort,
INewsApiTopHeadlinesParams,
INewsApiResponse,
INewsApiArticle,
INewsApiSource,
INewsApiEverythingParams,
INewsApiSourceParams,
INewsApiSourcesResponse,
INewsApiSourceItem,
};

0 comments on commit b269f1f

Please sign in to comment.