Skip to content

Commit

Permalink
Fix typo: Engine#factoryFor -> Engine#lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Jun 13, 2022
1 parent 21ccda4 commit 1d61643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/0821-public-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ function useRegisterOptions(registerOptions) {

#### `Factory`

`Factory` is an existing concept available to users via [the `Engine#factoryFor` API][ff].[^factory-name] The public API to date has included only two fields, `class` and `create`, and we maintain that in this RFC. The result is this user-constructible interface:
`Factory` is an existing concept available to users via [the `Engine#lookup` API][ff]. The public API to date has included only two fields, `class` and `create`, and we maintain that in this RFC. The result is this user-constructible interface:

[ff]: https://api.emberjs.com/ember/4.3/classes/EngineInstance/methods/factoryFor?anchor=factoryFor
[ff]: https://api.emberjs.com/ember/4.3/classes/EngineInstance/methods/factoryFor?anchor=lookup

```ts
export interface Factory<Class> {
Expand Down

0 comments on commit 1d61643

Please sign in to comment.