Skip to content

Commit

Permalink
Merge pull request #1009 from StephanH90/fix/docs-typo
Browse files Browse the repository at this point in the history
fix: typo in use doc
  • Loading branch information
NullVoxPopuli authored Sep 27, 2023
2 parents 172c286 + fa71aa5 commit 6fc67cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember-resources/src/core/use.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function use<Prototype, Key>(
* const Clock = resource( ... );
*
* class Demo {
* time = use(this, Clock);
* data = use(this, Clock);
* }
*
* (new Demo()).data.current === 2
Expand Down

0 comments on commit 6fc67cb

Please sign in to comment.