We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8399fe2 + 593a9b0 commit dd45b60Copy full SHA for dd45b60
docs/types/type-system.md
@@ -10,7 +10,7 @@ As mentioned before Types are annotated using `:TypeAnnotation` syntax. Anything
10
11
The following example demonstrates type annotations for variables, function parameters and function return values:
12
13
-```
+```ts
14
var num: number = 123;
15
function identity(num: number): number {
16
return num;
0 commit comments