Skip to content

Commit

Permalink
build: fix issues with @rdfjs/types
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Feb 13, 2025
1 parent 64b6b5e commit 3f4808f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 1 addition & 6 deletions packages/express-rdf-request/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { NamedNode, Quad } from '@rdfjs/types'
import type { NamedNode } from '@rdfjs/types'
import express from 'express'
import clownface, { GraphPointer } from 'clownface'
import $rdf from 'rdf-ext'
Expand All @@ -10,11 +10,6 @@ declare module 'express-serve-static-core' {
}
}

declare module '@rdfjs/types' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Stream extends AsyncIterable<Quad> {}
}

const emptyNamedNode = $rdf.namedNode('')

export function resource(req: express.Request, res: unknown, next: express.NextFunction) {
Expand Down
3 changes: 1 addition & 2 deletions ui/src/forms/FileLiteral.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import type { Literal } from '@rdfjs/types'
import LiteralExt from 'rdf-ext/lib/Literal'

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface FileLiteral extends Literal {}
export interface FileLiteral extends LiteralExt {}

export class FileLiteral extends LiteralExt {
constructor (public file: File) {
Expand Down

0 comments on commit 3f4808f

Please sign in to comment.