File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import { inspect } from "util";
2828const { debug } = createLoggers ( "core" , "wot-impl" ) ;
2929
3030class ThingDiscoveryProcess implements WoT . ThingDiscoveryProcess {
31- constructor ( private directory : ConsumedThing , public filter ?: WoT . ThingFilter ) {
31+ constructor ( private directory : WoT . ConsumedThing , public filter ?: WoT . ThingFilter ) {
3232 this . filter = filter ;
3333 this . done = false ;
3434 }
@@ -101,7 +101,7 @@ export default class WoTImpl {
101101 }
102102
103103 /** @inheritDoc */
104- async consume ( td : WoT . ThingDescription ) : Promise < ConsumedThing > {
104+ async consume ( td : WoT . ThingDescription ) : Promise < WoT . ConsumedThing > {
105105 try {
106106 const thing = parseTD ( JSON . stringify ( td ) , true ) ;
107107 const newThing : ConsumedThing = new ConsumedThing ( this . srv , thing as ThingModel ) ;
You can’t perform that action at this time.
0 commit comments