Skip to content

Commit

Permalink
Fix constructor in dummy launchpad
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Aug 24, 2024
1 parent 028b794 commit 70ee95a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "launchpad.js",
"version": "3.4.4",
"version": "3.4.5",
"description": "A javascript api to control your Novation launchpads",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
6 changes: 5 additions & 1 deletion src/launchpads/dummy/DummyLaunchpad.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import { CONTROL_NOTE, NORMAL_NOTE } from '../../internal/utils.js';
import { BaseLaunchpad } from '../base/BaseLaunchpad';
import { BaseLaunchpad, BaseLaunchpadOptions } from '../base/BaseLaunchpad';
import { Button, ButtonIn, ButtonStyle, isButton, PaletteColor, RgbColor } from '../base/ILaunchpad';

/**
* A dummy launchpad that has the size of a mk2
*/
export class DummyLaunchpad extends BaseLaunchpad {
constructor(options?: Partial<BaseLaunchpadOptions>) {

Check failure on line 9 in src/launchpads/dummy/DummyLaunchpad.ts

View workflow job for this annotation

GitHub Actions / build

Useless constructor
super(options);
}

allOff(): void {
this.logCall('allOff');
}
Expand Down

0 comments on commit 70ee95a

Please sign in to comment.