Skip to content

Commit 3f9a973

Browse files
committed
Fix pandoc pdf generation issue
1 parent c0d4d93 commit 3f9a973

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,11 +1819,13 @@ You can download the PDF and Epub version of this repository from the latest run
18191819
94. ### What is the purpose of any type cast function?
18201820
You can disable binding expression type checking using $any() type cast function(by surrounding the expression). In the following example, the error Property contacts does not exist is suppressed by casting user to the any type.
18211821
```javascript
1822-
template: '{{$any(user).contacts.email}}'
1822+
template:
1823+
'{{ $any(user).contacts.email }}'
18231824
```
18241825
The $any() cast function also works with this to allow access to undeclared members of the component.
18251826
```javascript
1826-
template: '{{$any(this).contacts.email}}'
1827+
template:
1828+
'{{ $any(this).contacts.email }}'
18271829
```
18281830
18291831
**[⬆ Back to Top](#table-of-contents)**

0 commit comments

Comments
 (0)