From 9cef0d210fc6a1eff260bdb233cb41e358353278 Mon Sep 17 00:00:00 2001 From: Garrett Darnell <12160067+garrettld@users.noreply.github.com> Date: Tue, 19 Mar 2024 09:01:27 -0400 Subject: [PATCH] docs(core): fix toSignal docs (#54964) PR Close #54964 --- packages/core/rxjs-interop/src/to_signal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/rxjs-interop/src/to_signal.ts b/packages/core/rxjs-interop/src/to_signal.ts index c65cf1857be05..17082e344d321 100644 --- a/packages/core/rxjs-interop/src/to_signal.ts +++ b/packages/core/rxjs-interop/src/to_signal.ts @@ -42,7 +42,7 @@ export interface ToSignalOptions { /** * Whether the subscription should be automatically cleaned up (via `DestroyRef`) when - * `toObservable`'s creation context is destroyed. + * `toSignal`'s creation context is destroyed. * * If manual cleanup is enabled, then `DestroyRef` is not used, and the subscription will persist * until the `Observable` itself completes. @@ -92,7 +92,7 @@ export function toSignal( * does not include an `undefined` type. * * By default, the subscription will be automatically cleaned up when the current [injection - * context](/guide/dependency-injection-context) is destroyed. For example, when `toObservable` is + * context](/guide/dependency-injection-context) is destroyed. For example, when `toSignal` is * called during the construction of a component, the subscription will be cleaned up when the * component is destroyed. If an injection context is not available, an explicit `Injector` can be * passed instead.