fix: linting errors

This commit is contained in:
Felix Roos
2023-09-14 09:39:31 +02:00
parent 0f72729f0d
commit 3a69fd50bb
+2 -2
View File
@@ -5,7 +5,7 @@ This program is free software: you can redistribute it and/or modify it under th
*/
import * as _WebMidi from 'webmidi';
import { Pattern, isPattern, logger } from '@strudel.cycles/core';
import { Pattern, isPattern, logger, ref } from '@strudel.cycles/core';
import { noteToMidi } from '@strudel.cycles/core';
import { Note } from 'webmidi';
// if you use WebMidi from outside of this package, make sure to import that instance:
@@ -73,7 +73,7 @@ function getDevice(indexOrName, devices) {
);
}
return IACOutput ?? outputs[0];
return IACOutput ?? devices[0];
}
Pattern.prototype.midi = function (output) {