Skip to content

Commit

Permalink
Fix explanatory comments in @ember/-internals/owner
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho authored Nov 17, 2022
1 parent a9853f0 commit 19e9f8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/@ember/-internals/owner/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ export function setOwner(object: object, owner: Owner): void {
}

// Defines the type for the ContainerProxyMixin. When we rationalize our Owner
// *not* to work via mixins, we will be able to delete this entirely: this
// overload for `lookup()` and all of `ownerInjection()` will go away.
// *not* to work via mixins, we will be able to delete this entirely, in favor
// of just using the Owner class itself.
export interface ContainerProxy extends BasicContainer {
/**
Returns an object that can be used to provide an owner to a
Expand Down
4 changes: 3 additions & 1 deletion packages/@ember/owner/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
- `Resolver`, an interface defining the contract for the object responsible
for mapping string names to the corresponding classes. For example, when
you write `@service('session')`, a resolver is responsible to map that back
to the `Session` service class in your codebase. Normally
to the `Session` service class in your codebase. Normally, this is handled
for you automatically with `ember-resolver`, which is the main implementor
of this interface.
For more details on each, see their per-item docs!
*/
Expand Down

0 comments on commit 19e9f8c

Please sign in to comment.