diff --git a/ember-utils/src/services/extended-store.ts b/ember-utils/src/services/extended-store.ts index 35a7ba0..791c8f9 100644 --- a/ember-utils/src/services/extended-store.ts +++ b/ember-utils/src/services/extended-store.ts @@ -26,7 +26,10 @@ export default class ExtendedStoreService extends Service { return record; } - public peekOrFail(recordType: K, id: string) { + public peekOrFail( + recordType: K, + id: string, + ): ModelRegistry[K] { const record = this.store.peekRecord(recordType, id); if (!record) { throw new Error( diff --git a/test-app/app/controllers/docs/helpers/date-format.ts b/test-app/app/controllers/docs/helpers/date-format.ts index 3eaa66d..7973251 100644 --- a/test-app/app/controllers/docs/helpers/date-format.ts +++ b/test-app/app/controllers/docs/helpers/date-format.ts @@ -1,5 +1,5 @@ import Controller from '@ember/controller'; export default class DocsHelpersDateFormatController extends Controller { - date = new Date(); + date = new Date(); } diff --git a/test-app/tests/integration/helpers/translate-country-test.ts b/test-app/tests/integration/helpers/translate-country-test.ts index b228a53..2d3e3ce 100644 --- a/test-app/tests/integration/helpers/translate-country-test.ts +++ b/test-app/tests/integration/helpers/translate-country-test.ts @@ -6,7 +6,11 @@ import { hbs } from 'ember-cli-htmlbars'; module('Integration | Helper | translate-country', function (hooks) { setupRenderingTest(hooks); - function setCountries(this: TestContext, countries: string[] | string, language?: string) { + function setCountries( + this: TestContext, + countries: string[] | string, + language?: string, + ) { this.set('countries', countries); this.set('language', language); return countries;