mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-10 12:57:46 +00:00
Fix: Fixed and added missing code syntax tags in posts
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user