Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit a5e7969

Browse files
Default Glimmer Component signature to unknown
This provides the expected resolution within a component, but does not introduce a breaking change by requiring all callers to pass a type parameter. Co-authored-by: James C. Davis <jamescdavis@gmail.com>
1 parent 8df18cd commit a5e7969

File tree

1 file changed

+1
-1
lines changed
  • packages/@glimmer/component/addon

1 file changed

+1
-1
lines changed

packages/@glimmer/component/addon/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import GlimmerComponentManager from './-private/ember-component-manager';
1515
import _GlimmerComponent, { Args } from './-private/component';
1616
import { setOwner } from '@ember/application';
1717

18-
export default class GlimmerComponent<S> extends _GlimmerComponent<S> {
18+
export default class GlimmerComponent<S = unknown> extends _GlimmerComponent<S> {
1919
constructor(owner: object, args: Args<S>) {
2020
super(owner, args);
2121

0 commit comments

Comments
 (0)