From b935cda91ad31555576c419a38907921a1e036ea Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sun, 26 Nov 2023 13:50:23 +0100 Subject: [PATCH] Correct typing errors --- src/classes/SoundEvent.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/SoundEvent.ts b/src/classes/SoundEvent.ts index 29f39e3..cb65f6d 100644 --- a/src/classes/SoundEvent.ts +++ b/src/classes/SoundEvent.ts @@ -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[]; @@ -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); } }