diff --git a/packages/model/addon/-private/legacy-relationships-support.ts b/packages/model/addon/-private/legacy-relationships-support.ts index f3df3d8c022..adeac66ea07 100644 --- a/packages/model/addon/-private/legacy-relationships-support.ts +++ b/packages/model/addon/-private/legacy-relationships-support.ts @@ -180,6 +180,7 @@ export class LegacySupport { field: key, value: extractIdentifierFromRecord(value), }, + // @ts-expect-error true ); } diff --git a/packages/store/addon/-private/caches/instance-cache.ts b/packages/store/addon/-private/caches/instance-cache.ts index fcb5951ce1e..b73216a1292 100644 --- a/packages/store/addon/-private/caches/instance-cache.ts +++ b/packages/store/addon/-private/caches/instance-cache.ts @@ -335,7 +335,7 @@ export class InstanceCache { recordData = new NonSingletonRecordDataManager(this.store, recordDataInstance, identifier); } else { if (DEBUG) { - recordData = this.__cacheManager = this.__cacheManager || new SingletonRecordDataManager(this.store); + recordData = this.__cacheManager = this.__cacheManager || new SingletonRecordDataManager(); (recordData as SingletonRecordDataManager)._addRecordData(identifier, recordDataInstance as RecordData); } else { recordData = recordDataInstance as RecordData; diff --git a/packages/unpublished-test-infra/addon-test-support/qunit-asserts/assert-deprecation.ts b/packages/unpublished-test-infra/addon-test-support/qunit-asserts/assert-deprecation.ts index 169bce71e43..b7ebc05cb91 100644 --- a/packages/unpublished-test-infra/addon-test-support/qunit-asserts/assert-deprecation.ts +++ b/packages/unpublished-test-infra/addon-test-support/qunit-asserts/assert-deprecation.ts @@ -147,6 +147,7 @@ export function configureDeprecationHandler() { // we do not call next to avoid spamming the console }); + // @ts-expect-error QUnit.assert.expectDeprecation = async function ( cb: () => unknown, config: string | RegExp | DeprecationConfig,