Skip to content

Commit

Permalink
fix(docs, Resource): there is no second arg passed to the constructor…
Browse files Browse the repository at this point in the history
… of Resource
  • Loading branch information
NullVoxPopuli committed Apr 21, 2022
1 parent 6311615 commit b21f386
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ _More information contained in the `docs` folder_.
High-fidelity sourcemaps are provided in the original typescript.
However, you must be using embroider to take advantage of them.
Sourcemaps should work with ember-auto-import@v2+ in non-embroider builds as well,
Sourcemaps should work with ember-auto-import@v2+ in non-embroider builds as well,
but is untested.
Expand Down
4 changes: 2 additions & 2 deletions ember-resources/src/core/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import type { ArgsWrapper, Cache, Thunk } from './types';
* class MyResource extends Resource {
* @tracked customState;
*
* constructor(owner, args) {
* super(owner, args);
* constructor(owner) {
* super(owner);
*
* registerDestructor(() => this.interpreter.stop());
* }
Expand Down

0 comments on commit b21f386

Please sign in to comment.