Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 89106db

Browse files
byungjunejuleskremer
authored andcommitted
Correct a type error (#3272)
tempate -> template
1 parent 5c22996 commit 89106db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/ts/latest/guide/template-syntax.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ h3#expression-context Expression context
161161
The context for terms in an expression is a blend of the _template variables_,
162162
the directive's _context_ object (if it has one), and the component's _members_.
163163
If you reference a name that belongs to more than one of these namespaces,
164-
the tempate variable name takes precedence, followed by a name in the directive's' _context_,
164+
the template variable name takes precedence, followed by a name in the directive's' _context_,
165165
and, lastly, the component's member names.
166166

167167
The previous example presents such a name collision. The component has a `hero` property and the `*ngFor` defines a `hero` template variable. The `hero` in `{{hero}}` refers to the template input variable, not the component's property.

0 commit comments

Comments
 (0)