Skip to content

Commit 11b8a72

Browse files
authored
feat(options): accept date option (#186)
feat(options): accept `date` option
1 parent 519a1d4 commit 11b8a72

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,6 +2523,9 @@
25232523
"OptionsOptions": {
25242524
"additionalProperties": false,
25252525
"properties": {
2526+
"date": {
2527+
"yahooFinanceType": "number"
2528+
},
25262529
"formatted": {
25272530
"type": "boolean"
25282531
},

src/modules/options.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface OptionsOptions {
4545
formatted?: boolean;
4646
lang?: string;
4747
region?: string;
48+
date?: number;
4849
}
4950

5051
const queryOptionsDefaults: OptionsOptions = {

0 commit comments

Comments
 (0)