Branch
Hash :
0e5c48d1
Author :
Date :
2019-09-30T21:09:34
foo = (a: number) : number => {}
bar = () : string => {}
----------------------------------------------------
[
["function-variable", "foo"], ["operator", "="],
["punctuation", "("], "a", ["operator", ":"],
["type", "number"], ["punctuation", ")"],
["operator", ":"], ["type", "number"],
["operator", "=>"], ["punctuation", "{"], ["punctuation", "}"],
["function-variable", "bar"], ["operator", "="],
["punctuation", "("], ["punctuation", ")"],
["operator", ":"], ["type", "string"],
["operator", "=>"], ["punctuation", "{"], ["punctuation", "}"]
]
----------------------------------------------------
Checks for function variables containing types.