@@ -39,7 +39,7 @@ import {
3939 validateTag ,
4040 valueForTag ,
4141} from '@glimmer/validator' ;
42- import type EmberComponent from '../component' ;
42+ import type Component from '../component' ;
4343import type { DynamicScope } from '../renderer' ;
4444import type RuntimeResolver from '../resolver' ;
4545import { isTemplateFactory } from '../template' ;
@@ -77,8 +77,8 @@ function aliasIdToElementId(args: VMArguments, props: any) {
7777// properties applying right to left.
7878function applyAttributeBindings (
7979 attributeBindings : Array < string > ,
80- component : EmberComponent ,
81- rootRef : Reference < EmberComponent > ,
80+ component : Component ,
81+ rootRef : Reference < Component > ,
8282 operations : ElementOperations
8383) {
8484 let seen : string [ ] = [ ] ;
@@ -109,9 +109,9 @@ const EMPTY_POSITIONAL_ARGS: Reference[] = [];
109109debugFreeze ( EMPTY_POSITIONAL_ARGS ) ;
110110
111111type ComponentFactory = InternalFactory <
112- EmberComponent ,
112+ Component ,
113113 {
114- create ( props ?: any ) : EmberComponent ;
114+ create ( props ?: any ) : Component ;
115115 positionalParams : string | string [ ] | undefined | null ;
116116 name : string ;
117117 }
@@ -126,7 +126,7 @@ export default class CurlyComponentManager
126126 WithDynamicLayout < ComponentStateBucket , RuntimeResolver > ,
127127 WithDynamicTagName < ComponentStateBucket >
128128{
129- protected templateFor ( component : EmberComponent ) : CompilableProgram | null {
129+ protected templateFor ( component : Component ) : CompilableProgram | null {
130130 let { layout, layoutName } = component ;
131131 let owner = getOwner ( component ) ;
132132 assert ( 'Component is unexpectedly missing an owner' , owner ) ;
@@ -474,10 +474,7 @@ export default class CurlyComponentManager
474474 }
475475}
476476
477- export function processComponentInitializationAssertions (
478- component : EmberComponent ,
479- props : any
480- ) : void {
477+ export function processComponentInitializationAssertions ( component : Component , props : any ) : void {
481478 assert (
482479 `classNameBindings must be non-empty strings: ${ component } ` ,
483480 ( ( ) => {
0 commit comments