Skip to content

Commit

Permalink
Avoid unnecessarily relying on Glimmer's internal component manager type
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreeman committed Dec 21, 2022
1 parent 421d2a0 commit 20c6cf9
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ import {
importSync,
dependencySatisfies,
} from '@embroider/macros';
import type { InternalComponentManager } from '@glimmer/interfaces';

let getComponentManager: (
definition: object,
owner: object
) => InternalComponentManager | null;
let getComponentManager: (definition: object, owner: object) => unknown;

if (macroCondition(dependencySatisfies('ember-source', '>=3.27.0-alpha.1'))) {
let _getComponentManager =
Expand Down

0 comments on commit 20c6cf9

Please sign in to comment.