From af68751a69fdf980595ece1cedf828c551560beb Mon Sep 17 00:00:00 2001 From: MrChocolatine <47531779+MrChocolatine@users.noreply.github.com> Date: Fri, 3 Sep 2021 18:44:28 +0100 Subject: [PATCH] chore: fix types definition for `init()` method --- addon/services/embedded.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/services/embedded.ts b/addon/services/embedded.ts index eda05a40..2986ea0c 100644 --- a/addon/services/embedded.ts +++ b/addon/services/embedded.ts @@ -3,7 +3,7 @@ import { getOwner } from '@ember/application' // eslint-disable-next-line ember/no-classic-classes const configService = ObjectProxy.extend({ - init(...args) { + init(...args: Array>): void { this.content = getOwner(this).factoryFor('config:embedded').class this._super(...args) },