summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNolan Prescott <prescott.nolan@gmail.com>2015-03-10 15:35:00 -0500
committerNolan Prescott <prescott.nolan@gmail.com>2015-03-10 15:35:00 -0500
commit394e7ecb84c68983f0bb210a8286cca0ff29e6d1 (patch)
tree7897a99466e81c97a822b597bbcacdd8d01a7d87
parent2ae3d41c2749645fec4748c764ccd5c9405424e5 (diff)
whitespace typo, fix #989
-rw-r--r--typescript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown
index 937ebda1..662af494 100644
--- a/typescript.html.markdown
+++ b/typescript.html.markdown
@@ -46,7 +46,7 @@ function bigHorribleAlert(): void {
var f1 = function(i: number) : number { return i * i; }
// Return type inferred
var f2 = function(i: number) { return i * i; }
-var f3 = (i : number) : number => { return i * i; }
+var f3 = (i: number) : number => { return i * i; }
// Return type inferred
var f4 = (i: number) => { return i * i; }
// Return type inferred, one-liner means no return keyword needed