Skip to content

Commit

Permalink
Correct typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Nov 26, 2023
1 parent 70c20b2 commit b935cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/classes/SoundEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
superdough,
// @ts-ignore
} from "superdough";
import { Sound } from "zifferjs/src/types";
// import { Sound } from "zifferjs/src/types";

export type SoundParams = {
dur: number | number[];
Expand Down Expand Up @@ -347,7 +347,7 @@ export class SoundEvent extends AudibleEvent {
this[key] = (value: number) => this.updateValue(keys[0], value);
}
} else {
// this[methodName] = keys.bind(this);
// @ts-ignore
this[methodName] = (...args) => keys(this, ...args);
}
}
Expand Down

0 comments on commit b935cda

Please sign in to comment.