Remove no-undefined linter setting.
This commit is contained in:
parent
91134a42d5
commit
158c92c4a5
@ -73,7 +73,6 @@ module.exports = {
|
|||||||
"@typescript-eslint/no-shadow": ["error"],
|
"@typescript-eslint/no-shadow": ["error"],
|
||||||
"no-throw-literal": "error",
|
"no-throw-literal": "error",
|
||||||
"no-undef-init": "error",
|
"no-undef-init": "error",
|
||||||
"no-undefined": "error",
|
|
||||||
"no-underscore-dangle": "error",
|
"no-underscore-dangle": "error",
|
||||||
"no-unneeded-ternary": "error",
|
"no-unneeded-ternary": "error",
|
||||||
"no-unused-expressions": "error",
|
"no-unused-expressions": "error",
|
||||||
|
@ -22,7 +22,12 @@ export class AlpacaActionProvider {
|
|||||||
readonly fetchActions = (options: ActionFetchOptions): Promise<ActionFetchResponse> => {
|
readonly fetchActions = (options: ActionFetchOptions): Promise<ActionFetchResponse> => {
|
||||||
return (this.alpaca.getAccountActivities({
|
return (this.alpaca.getAccountActivities({
|
||||||
activityTypes: "FILL",
|
activityTypes: "FILL",
|
||||||
|
until: undefined,
|
||||||
|
after: undefined,
|
||||||
direction: "desc",
|
direction: "desc",
|
||||||
|
date: undefined,
|
||||||
|
pageSize: undefined,
|
||||||
|
pageToken: undefined,
|
||||||
}) as Promise<AlpacaActivity[]>).then((activities) => {
|
}) as Promise<AlpacaActivity[]>).then((activities) => {
|
||||||
return new ActionFetchResponse(
|
return new ActionFetchResponse(
|
||||||
activities
|
activities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user