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"],
|
||||
"no-throw-literal": "error",
|
||||
"no-undef-init": "error",
|
||||
"no-undefined": "error",
|
||||
"no-underscore-dangle": "error",
|
||||
"no-unneeded-ternary": "error",
|
||||
"no-unused-expressions": "error",
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user