Skip to content

Commit

Permalink
Fix in-editor docs (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jan 12, 2024
1 parent 01778ff commit 703656d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion reactiveweb/src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type Get<T, K, Otherwise = unknown> = K extends keyof T ? T[K] : Otherwise;
* ```js
* import intersect from 'ember-composable-helpers/addon/helpers/intersect';
*
* import { helper } from 'ember-resources/util/helper';
* import { helper } from 'reactiveweb/helper';
*
* class Demo {
* @tracked listA = [...];
Expand Down
8 changes: 4 additions & 4 deletions reactiveweb/src/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type NonKey<K> = K extends string ? never : K extends symbol ? never : K;
*
* ```js
* import Component from '@glimmer/component';
* import { link } from 'ember-resources/link';
* import { link } from 'reactiveweb/link';
*
* class MyClass { ... }
*
Expand All @@ -31,7 +31,7 @@ export function link<Instance>(child: Class<Instance>): Stage1Decorator;
* ```js
* import Component from '@glimmer/component';
* import { cached } from '@glimmer/tracking';
* import { link } from 'ember-resources/link';
* import { link } from 'reactiveweb/link';
*
* export default class Demo extends Component {
* @cached
Expand All @@ -54,7 +54,7 @@ export function link<Child, Other>(child: Child, parent: NonKey<Other>): Child;
*
* ```js
* import Component from '@glimmer/component';
* import { link } from 'ember-resources/link';
* import { link } from 'reactiveweb/link';
*
* class MyClass { ... }
*
Expand All @@ -69,7 +69,7 @@ export function link<Child, Other>(child: Child, parent: NonKey<Other>): Child;
* ```js
* import Component from '@glimmer/component';
* import { tracked } from '@glimmer/tracking';
* import { link } from 'ember-resources/link';
* import { link } from 'reactiveweb/link';
*
* class MyClass { ... }
*
Expand Down

0 comments on commit 703656d

Please sign in to comment.