Skip to content

Commit

Permalink
fix: remove type which does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Oct 24, 2024
1 parent 6e90115 commit 7543715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/toAlgebra.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { NamedNode } from '@rdfjs/types'
import { MultiPointer } from 'clownface'
import type { InversePathInPropertySet, IriTerm, PropertyPath } from 'sparqljs'
import type { PropertyPath } from 'sparqljs'
import * as Path from './path.js'

class ToAlgebra extends Path.PathVisitor<PropertyPath | NamedNode> {
Expand Down Expand Up @@ -60,7 +60,7 @@ class ToAlgebra extends Path.PathVisitor<PropertyPath | NamedNode> {
return {
type: 'path',
pathType: '!',
items: paths.map((path): IriTerm | InversePathInPropertySet => {
items: paths.map((path) => {
if (path instanceof Path.PredicatePath) {
return path.term
}
Expand Down

0 comments on commit 7543715

Please sign in to comment.