mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-17 21:49:22 +01:00
whitespace typo, fix #989
This commit is contained in:
parent
2ae3d41c27
commit
394e7ecb84
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user