[WIP] [TypeScript] Make db.select
functions generic to make it easy to type DB query results
#15696
Annotations
4 errors
api
Argument of type '{ payee: string; date: string; id: db.DbTransaction["id"]; is_parent: db.DbTransaction["isParent"]; is_child: db.DbTransaction["isChild"]; ... 14 more ...; reconciled: db.DbTransaction["reconciled"]; }' is not assignable to parameter of type 'TransactionEntity'.
|
api
Argument of type '{ amount: number; id: db.DbTransaction["id"]; is_parent: db.DbTransaction["isParent"]; is_child: db.DbTransaction["isChild"]; ... 15 more ...; reconciled: db.DbTransaction["reconciled"]; }' is not assignable to parameter of type 'TransactionEntity'.
|
api
Argument of type '(args_0: { transactions: any; actions: any; }) => Promise<{ added: DbViewTransactionInternal[]; updated: ({ id: any; transfer_id: any; } | { id: any; category: any; })[]; }>' is not assignable to parameter of type '(arg: { transactions: TransactionEntity[]; actions: (Action | RuleActionEntity)[]; }) => Promise<{ added: TransactionEntity[]; updated: unknown[]; }>'.
|
api
Process completed with exit code 2.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actual-crdt
|
14.8 KB |
|
actual-web
|
6.52 MB |
|
build-stats
|
753 KB |
|
sync-server
|
111 KB |
|