Remove no-undefined linter setting.

This commit is contained in:
Carter Bertolini 2023-10-31 17:12:24 -04:00
parent 91134a42d5
commit 158c92c4a5
2 changed files with 5 additions and 1 deletions

View File

@ -73,7 +73,6 @@ module.exports = {
"@typescript-eslint/no-shadow": ["error"],
"no-throw-literal": "error",
"no-undef-init": "error",
"no-undefined": "error",
"no-underscore-dangle": "error",
"no-unneeded-ternary": "error",
"no-unused-expressions": "error",

View File

@ -22,7 +22,12 @@ export class AlpacaActionProvider {
readonly fetchActions = (options: ActionFetchOptions): Promise<ActionFetchResponse> => {
return (this.alpaca.getAccountActivities({
activityTypes: "FILL",
until: undefined,
after: undefined,
direction: "desc",
date: undefined,
pageSize: undefined,
pageToken: undefined,
}) as Promise<AlpacaActivity[]>).then((activities) => {
return new ActionFetchResponse(
activities