Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default defineConfig([
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-require-imports": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/no-empty-object-type": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430
"@typescript-eslint/no-empty-object-type": "error",
"@typescript-eslint/no-floating-promises": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430

// **************** Enforce usage of `const` over `let` wherever possible, to prevent accidental reassignments
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/protocol-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface IManagedStream {
wotStream: ReadableStream;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function ManagedStream<TBase extends new (...args: any[]) => {}>(Base: TBase) {
function ManagedStream<TBase extends new (...args: any[]) => object>(Base: TBase) {
return class extends Base implements IManagedStream {
_nodeStream?: Readable;
_wotStream?: ReadableStream;
Expand Down
Loading