File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -745,8 +745,6 @@ export default class ConsumedThing extends TD.Thing implements IConsumedThing {
745745 formWithoutURITemplates ,
746746 // next
747747 ( content ) => {
748- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- tsc get confused when nullables are to listeners lambdas
749- if ( ! content . type ) content . type = form ! . contentType ?? "application/json" ;
750748 try {
751749 listener ( this . handleInteractionOutput ( content , form , tp ) ) ;
752750 } catch ( e ) {
@@ -803,8 +801,6 @@ export default class ConsumedThing extends TD.Thing implements IConsumedThing {
803801 await client . subscribeResource (
804802 formWithoutURITemplates ,
805803 ( content ) => {
806- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- tsc get confused when nullables are to listeners lambdas
807- if ( ! content . type ) content . type = form ! . contentType ?? "application/json" ;
808804 try {
809805 listener ( this . handleInteractionOutput ( content , form , te . data ) ) ;
810806 } catch ( e ) {
You can’t perform that action at this time.
0 commit comments