Skip to content

Commit 1d08cf6

Browse files
committed
rdflib-utils: fix typing
1 parent cb4f02e commit 1d08cf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/rdflib/src/queries/TypeIndexQuery.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export class TypeIndexQuery {
3737
);
3838
return registrations
3939
.filter((it) => isNamedNode(it))
40+
.map((it) => it as NamedNode)
4041
.map((registration: NamedNode) => {
4142
return {
4243
instances: this.getValuesOf("instance", registration),

0 commit comments

Comments
 (0)