Skip to content

Commit 515a1fb

Browse files
shayan-ghzlAndrewKushnir
authored andcommitted
docs: correct typo in description of runTask method (#59119)
PR Close #59119
1 parent c8b1926 commit 515a1fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/zone/ng_zone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class NgZone {
233233
* Executes the `fn` function synchronously within the Angular zone as a task and returns value
234234
* returned by the function.
235235
*
236-
* Running functions via `run` allows you to reenter Angular zone from a task that was executed
236+
* Running functions via `runTask` allows you to reenter Angular zone from a task that was executed
237237
* outside of the Angular zone (typically started via {@link #runOutsideAngular}).
238238
*
239239
* Any future tasks or microtasks scheduled from within this function will continue executing from

0 commit comments

Comments
 (0)