Skip to content

Commit 593a9b0

Browse files
authored
Highlight type annotations example code
1 parent 80d9324 commit 593a9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/type-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ As mentioned before Types are annotated using `:TypeAnnotation` syntax. Anything
1010

1111
The following example demonstrates type annotations for variables, function parameters and function return values:
1212

13-
```
13+
```ts
1414
var num: number = 123;
1515
function identity(num: number): number {
1616
return num;

0 commit comments

Comments
 (0)