mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
chore(client): fix most type errors
This commit is contained in:
@@ -789,7 +789,7 @@ class FNote {
|
||||
*/
|
||||
async getRelationTargets(name: string) {
|
||||
const relations = this.getRelations(name);
|
||||
const targets = [];
|
||||
const targets: (FNote | null)[] = [];
|
||||
|
||||
for (const relation of relations) {
|
||||
targets.push(await this.froca.getNote(relation.value));
|
||||
|
||||
Reference in New Issue
Block a user