Fix: Fixed and added missing code syntax tags in posts

This commit is contained in:
Evelyn Hathaway
2019-10-24 23:39:54 -07:00
parent 90f6990145
commit 3f7130c1bd
2 changed files with 6 additions and 6 deletions

View File

@@ -1535,7 +1535,7 @@ This may seem strange upon first glance, but remember: **the structural directiv
This becomes more apparent when you expand the syntax to look something like this: This becomes more apparent when you expand the syntax to look something like this:
``` ```html
<ng-template makePiglatin="'This is a string'; let msg; let ogMsg = original"> <ng-template makePiglatin="'This is a string'; let msg; let ogMsg = original">
<p [makePiglatinCasing]="'UPPER'"> <p [makePiglatinCasing]="'UPPER'">
The message "{{msg}}" is "{{ogMsg}}" in 🐷 Latin The message "{{msg}}" is "{{ogMsg}}" in 🐷 Latin

View File

@@ -82,7 +82,7 @@ addFive('5');
Will now output: Will now output:
```sh ```bash
>tsc test.ts >tsc test.ts
test.ts:5:9 - error TS2345: Argument of type '"5"' is not assignable to parameter of type 'number'. test.ts:5:9 - error TS2345: Argument of type '"5"' is not assignable to parameter of type 'number'.
5 addFive('5'); 5 addFive('5');