Skip to content

Commit

Permalink
feat(options): accept date option (#186)
Browse files Browse the repository at this point in the history
feat(options): accept `date` option
  • Loading branch information
advaiyalad authored May 26, 2021
1 parent 519a1d4 commit 11b8a72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2523,6 +2523,9 @@
"OptionsOptions": {
"additionalProperties": false,
"properties": {
"date": {
"yahooFinanceType": "number"
},
"formatted": {
"type": "boolean"
},
Expand Down
1 change: 1 addition & 0 deletions src/modules/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export interface OptionsOptions {
formatted?: boolean;
lang?: string;
region?: string;
date?: number;
}

const queryOptionsDefaults: OptionsOptions = {
Expand Down

0 comments on commit 11b8a72

Please sign in to comment.