File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export default defineConfig([
123123 "@typescript-eslint/no-unused-expressions" : "off" ,
124124 "@typescript-eslint/no-require-imports" : "off" , // https://github.com/eclipse-thingweb/node-wot/issues/1430
125125 "@typescript-eslint/prefer-nullish-coalescing" : "error" ,
126- "@typescript-eslint/no-empty-object-type" : "off" , // https://github.com/eclipse-thingweb/node-wot/issues/1430
126+ "@typescript-eslint/no-empty-object-type" : "error" ,
127127 "@typescript-eslint/no-floating-promises" : "off" , // https://github.com/eclipse-thingweb/node-wot/issues/1430
128128
129129 // **************** Enforce usage of `const` over `let` wherever possible, to prevent accidental reassignments
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export interface IManagedStream {
2626 wotStream : ReadableStream ;
2727}
2828// eslint-disable-next-line @typescript-eslint/no-explicit-any
29- function ManagedStream < TBase extends new ( ...args : any [ ] ) => { } > ( Base : TBase ) {
29+ function ManagedStream < TBase extends new ( ...args : any [ ] ) => object > ( Base : TBase ) {
3030 return class extends Base implements IManagedStream {
3131 _nodeStream ?: Readable ;
3232 _wotStream ?: ReadableStream ;
You can’t perform that action at this time.
0 commit comments