From f33260cf984ada827e1e38b15121046bbea2f5d4 Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Fri, 3 May 2024 11:15:11 -0400 Subject: [PATCH] moving tsignore around --- Tone/core/type/TimeBase.ts | 2 +- Tone/source/buffer/Player.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tone/core/type/TimeBase.ts b/Tone/core/type/TimeBase.ts index fae7e75d..210571c4 100644 --- a/Tone/core/type/TimeBase.ts +++ b/Tone/core/type/TimeBase.ts @@ -200,8 +200,8 @@ export abstract class TimeBaseClass< for (const typeName in this._val) { if (isDefined(this._val[typeName])) { const quantity = this._val[typeName]; - // @ts-ignore const time = + // @ts-ignore new this.constructor(this.context, typeName).valueOf() * quantity; total += time; diff --git a/Tone/source/buffer/Player.test.ts b/Tone/source/buffer/Player.test.ts index 35538268..2b46b4f3 100644 --- a/Tone/source/buffer/Player.test.ts +++ b/Tone/source/buffer/Player.test.ts @@ -725,8 +725,8 @@ describe("Player", () => { }); getContext().lookAhead = originalLookAhead; // ensure each source has a different stopTime - // @ts-ignore expect(checkStopTimes.size).to.equal( + // @ts-ignore player._activeSources.size ); done();