Skip to content

Commit

Permalink
refactor: expose types and interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
isolomak committed Dec 4, 2022
1 parent ca90e22 commit 10929fa
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import axios from 'axios';
import * as querystring from 'querystring';
import {
ApiNewsCategory,
ApiNewsCountry,
ApiNewsLanguage,
ApiNewsResponseStatus,
ApiNewsSort,
INewsApiArticle,
INewsApiEverythingParams,
INewsApiResponse,
INewsApiSource,
INewsApiSourceItem,
INewsApiSourceParams,
INewsApiSourcesResponse,
INewsApiTopHeadlinesParams
Expand Down Expand Up @@ -196,3 +204,19 @@ export default class NewsAPI {
}

}

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

0 comments on commit 10929fa

Please sign in to comment.