Skip to content

Commit af110ec

Browse files
committed
fixed a type error
1 parent 2eaf0ac commit af110ec

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ export {
1717
store,
1818
authn,
1919
authSession
20-
}
20+
}
21+

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export interface InboxLogic {
9494
}
9595

9696
export interface TypeIndexLogic {
97-
getRegistrations: (instance, theClass) => Promise<NamedNode>,
97+
getRegistrations: (instance, theClass) => Node[],
9898
loadTypeIndexesFor: (user: NamedNode) => Promise<Array<TypeIndexScope>>,
9999
loadCommunityTypeIndexes: (user: NamedNode) => Promise<TypeIndexScope[][]>,
100100
loadAllTypeIndexes: (user: NamedNode) => Promise<Array<TypeIndexScope>>,

0 commit comments

Comments
 (0)