import { StreamDeck , StreamDeckProxy } from '@elgato-stream-deck/core' ; export class StreamDeckNode extends StreamDeckProxy { constructor ( device , private readonly resetToLogoOnClose ) { super ( device ) ; } public async close ( ) { if ( this . resetToLogoOnClose ) { await this . resetToLogo ( ) ; } await super . close ( ) ; } }