Skip to content

Commit 38b090a

Browse files
shayan-ghzlAndrewKushnir
authored andcommitted
docs: correct typo in description of runTask method (angular#59119)
PR Close angular#59119
1 parent 4c2cdd2 commit 38b090a

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)