Skip to content

Commit

Permalink
fix: export typescript interfaces
Browse files Browse the repository at this point in the history
exports the polished data interfaces from the alpha namespace, so they
can be used when imported.

closes #196
  • Loading branch information
OACDesigns committed Apr 15, 2021
1 parent 847f843 commit 7561adf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Expand Up @@ -244,7 +244,7 @@ declare namespace alpha {
// Polished

// https://www.alphavantage.co/documentation/#latestprice
interface StockQuote {
export interface StockQuote {
data: {
symbol: string;
open: string;
Expand All @@ -260,7 +260,7 @@ declare namespace alpha {
}

// https://www.alphavantage.co/documentation/#dailyadj
interface StockDailyAdjusted {
export interface StockDailyAdjusted {
meta: {
information: string;
symbol: string;
Expand All @@ -285,7 +285,7 @@ declare namespace alpha {
}

// https://www.alphavantage.co/documentation/#symbolsearch
interface StockSearch {
export interface StockSearch {
bestMatches: {
[index: string]:
| {
Expand Down

0 comments on commit 7561adf

Please sign in to comment.