Skip to content

Commit 6cf9ede

Browse files
mernenmhevery
authored andcommitted
docs($parse): document function argument types, fix minor typo
1 parent 6092291 commit 6cf9ede

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ng/parse.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,9 +840,10 @@ function getterFn(path, csp) {
840840
* @param {string} expression String expression to compile.
841841
* @returns {function(context, locals)} a function which represents the compiled expression:
842842
*
843-
* * `context`: an object against which any expressions embedded in the strings are evaluated
844-
* against (Topically a scope object).
845-
* * `locals`: local variables context object, useful for overriding values in `context`.
843+
* * `context` – `{object}` – an object against which any expressions embedded in the strings
844+
* are evaluated against (tipically a scope object).
845+
* * `locals` – `{object=}` – local variables context object, useful for overriding values in
846+
* `context`.
846847
*
847848
* The return function also has an `assign` property, if the expression is assignable, which
848849
* allows one to set values to expressions.

0 commit comments

Comments
 (0)