{
  "type": "File",
  "start": 0,
  "end": 36,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 1,
      "column": 36
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 36,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 1,
        "column": 36
      }
    },
    "sourceType": "module",
    "body": [
      {
        "type": "FunctionDeclaration",
        "start": 0,
        "end": 36,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 36
          }
        },
        "id": {
          "type": "Identifier",
          "start": 9,
          "end": 12,
          "loc": {
            "start": {
              "line": 1,
              "column": 9
            },
            "end": {
              "line": 1,
              "column": 12
            },
            "identifierName": "foo"
          },
          "name": "foo"
        },
        "generator": false,
        "expression": false,
        "async": false,
        "params": [],
        "predicate": null,
        "returnType": {
          "type": "TypeAnnotation",
          "start": 14,
          "end": 34,
          "loc": {
            "start": {
              "line": 1,
              "column": 14
            },
            "end": {
              "line": 1,
              "column": 34
            }
          },
          "typeAnnotation": {
            "type": "FunctionTypeAnnotation",
            "start": 15,
            "end": 34,
            "loc": {
              "start": {
                "line": 1,
                "column": 15
              },
              "end": {
                "line": 1,
                "column": 34
              }
            },
            "params": [
              {
                "type": "FunctionTypeParam",
                "start": 16,
                "end": 23,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 16
                  },
                  "end": {
                    "line": 1,
                    "column": 23
                  }
                },
                "name": {
                  "type": "Identifier",
                  "start": 16,
                  "end": 17,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 16
                    },
                    "end": {
                      "line": 1,
                      "column": 17
                    },
                    "identifierName": "_"
                  },
                  "name": "_"
                },
                "optional": true,
                "typeAnnotation": {
                  "type": "BooleanTypeAnnotation",
                  "start": 19,
                  "end": 23,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 19
                    },
                    "end": {
                      "line": 1,
                      "column": 23
                    }
                  }
                }
              }
            ],
            "rest": null,
            "returnType": {
              "type": "NumberTypeAnnotation",
              "start": 28,
              "end": 34,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 28
                },
                "end": {
                  "line": 1,
                  "column": 34
                }
              }
            },
            "typeParameters": null
          }
        },
        "body": {
          "type": "BlockStatement",
          "start": 34,
          "end": 36,
          "loc": {
            "start": {
              "line": 1,
              "column": 34
            },
            "end": {
              "line": 1,
              "column": 36
            }
          },
          "body": [],
          "directives": []
        }
      }
    ],
    "directives": []
  }
}