diff --git a/DOCS.md b/DOCS.md index ee96efa..9ff14b0 100644 --- a/DOCS.md +++ b/DOCS.md @@ -66,7 +66,7 @@ Emits when a Powered UP Hub device is found. | Param | Type | | --- | --- | -| hub | [WeDo2SmartHub](#WeDo2SmartHub) \| [BoostMoveHub](#BoostMoveHub) \| [PUPHub](#PUPHub) \| [PUPRemote](#PUPRemote) | +| hub | [WeDo2SmartHub](#WeDo2SmartHub) \| [BoostMoveHub](#BoostMoveHub) \| [PUPHub](#PUPHub) \| [PUPRemote](#PUPRemote) \| [DuploTrainHub](#DuploTrainHub) | diff --git a/README.md b/README.md index 4836dc1..1d5f9c1 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ Emits when a Powered UP Hub device is found. | Param | Type | | --- | --- | -| hub | [WeDo2SmartHub](#WeDo2SmartHub) \| [BoostMoveHub](#BoostMoveHub) \| [PUPHub](#PUPHub) \| [PUPRemote](#PUPRemote) | +| hub | [WeDo2SmartHub](#WeDo2SmartHub) \| [BoostMoveHub](#BoostMoveHub) \| [PUPHub](#PUPHub) \| [PUPRemote](#PUPRemote) \| [DuploTrainHub](#DuploTrainHub) | diff --git a/poweredup.ts b/poweredup.ts index 854b9be..d9bcba4 100644 --- a/poweredup.ts +++ b/poweredup.ts @@ -95,7 +95,7 @@ export class PoweredUP extends EventEmitter { /** * Emits when a Powered UP Hub device is found. * @event PoweredUP#discover - * @param {WeDo2SmartHub | BoostMoveHub | PUPHub | PUPRemote} hub + * @param {WeDo2SmartHub | BoostMoveHub | PUPHub | PUPRemote | DuploTrainHub} hub */ this.emit("discover", hub);