Fixing more compiler issues, still broken

This commit is contained in:
2024-04-19 23:14:03 +02:00
parent d3ac9f19a2
commit 4c7cfb44ce
18 changed files with 102 additions and 93 deletions

View File

@ -30,7 +30,7 @@ export class Player extends AbstractEvent {
constructor(
input: string | number | Generator<number>,
options: InputOptions,
public app: Editor,
app: Editor,
zid: string = "",
waitTime: number = 0,
) {
@ -191,7 +191,7 @@ export class Player extends AbstractEvent {
}
}
sound(name?: string | string[] | SoundParams | SoundParams[]) {
public sound(name?: string | string[] | SoundParams | SoundParams[]) {
if (this.areWeThereYet()) {
this.checkCue();
const event = this.next() as Pitch | Chord | ZRest;
@ -252,7 +252,7 @@ export class Player extends AbstractEvent {
}
}
midi(value: number | undefined = undefined) {
public midi(value: number | undefined = undefined) {
if (this.areWeThereYet()) {
this.checkCue();
const event = this.next() as Pitch | Chord | ZRest;