firescript
Version:
Firescript transpiler
48 lines (47 loc) • 1.08 kB
JSON
{
"type": "Program",
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"kind": "const",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "getFoo"
},
"init": {
"type": "FunctionExpression",
"id": {
"type": "Identifier",
"name": "getFoo"
},
"params": [],
"fsParamTypings": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "Identifier",
"name": "foo"
}
}
]
},
"async": false,
"expression": false,
"generator": false
},
"fsTyping": {
"type": "FirescriptTyping",
"name": "any"
}
}
]
}
]
}