From 8d4ce8f241a25e311d38430a234295aa49492d6c Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 29 Aug 2023 12:33:33 -0400 Subject: [PATCH] Remove reference to EmberComponent to remove the triple-slash directive --- ember-element-helper/src/helpers/element.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ember-element-helper/src/helpers/element.ts b/ember-element-helper/src/helpers/element.ts index 07acff4f..52ad7356 100644 --- a/ember-element-helper/src/helpers/element.ts +++ b/ember-element-helper/src/helpers/element.ts @@ -5,6 +5,8 @@ import { assert, runInDebug } from '@ember/debug'; import { ensureSafeComponent } from '@embroider/util'; +import type { ComponentLike } from '@glint/template'; + // eslint-disable-next-line @typescript-eslint/no-empty-function function UNINITIALIZED() {} @@ -13,7 +15,7 @@ export type ElementFromTagName = T extends keyof HTMLElementTa : Element; type Positional = [name: T]; -type Return = typeof EmberComponent<{ +type Return = ComponentLike<{ Element: ElementFromTagName; Blocks: { default: [] }; }>;