Skip to content

Commit

Permalink
fix some jsdoc @see references
Browse files Browse the repository at this point in the history
  • Loading branch information
bowheart committed Jan 6, 2025
1 parent 9b6b327 commit bd9bcb9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/stores/src/AtomInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class AtomInstance<
public store: G['Store']

/**
* @see GraphNode.c
* @see NewAtomInstance.c
*/
public c?: Cleanup
public _createdAt: number
Expand All @@ -107,19 +107,19 @@ export class AtomInstance<

constructor(
/**
* @see GraphNode.e
* @see NewAtomInstance.e
*/
public readonly e: Ecosystem,
/**
* @see GraphNode.t
* @see NewAtomInstance.t
*/
public readonly t: G['Template'],
/**
* @see GraphNode.id
* @see NewAtomInstance.id
*/
public readonly id: string,
/**
* @see GraphNode.p
* @see NewAtomInstance.p
*/
public readonly p: G['Params']
) {
Expand All @@ -128,7 +128,7 @@ export class AtomInstance<
}

/**
* @see GraphNode.destroy
* @see NewAtomInstance.destroy
*/
public destroy(force?: boolean) {
if (!zi.b(this, force)) return
Expand Down Expand Up @@ -166,7 +166,7 @@ export class AtomInstance<
}

/**
* @see GraphNode.get
* @see NewAtomInstance.get
*
* An alias for `instance.store.getState()`.
*/
Expand Down Expand Up @@ -216,7 +216,7 @@ export class AtomInstance<
): G['State'] => this.store.setStateDeep(settable, meta)

/**
* @see GraphNode.j
* @see NewAtomInstance.j
*/
public j() {
const { n, s } = zi.g()
Expand Down Expand Up @@ -316,7 +316,7 @@ export class AtomInstance<
}

/**
* @see GraphNode.r
* @see NewAtomInstance.r
*/
public r(reason: InternalEvaluationReason, shouldSetTimeout?: boolean) {
// TODO: Any calls in this case probably indicate a memory leak on the
Expand Down

0 comments on commit bd9bcb9

Please sign in to comment.