{
  "type": "File",
  "start": 0,
  "end": 38,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 1,
      "column": 38
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 38,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 1,
        "column": 38
      }
    },
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "FunctionDeclaration",
        "start": 0,
        "end": 38,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 38
          }
        },
        "id": {
          "type": "Identifier",
          "start": 9,
          "end": 12,
          "loc": {
            "start": {
              "line": 1,
              "column": 9
            },
            "end": {
              "line": 1,
              "column": 12
            },
            "identifierName": "foo"
          },
          "name": "foo"
        },
        "generator": false,
        "async": false,
        "params": [
          {
            "type": "Identifier",
            "start": 13,
            "end": 35,
            "loc": {
              "start": {
                "line": 1,
                "column": 13
              },
              "end": {
                "line": 1,
                "column": 35
              },
              "identifierName": "callback"
            },
            "name": "callback",
            "typeAnnotation": {
              "type": "TypeAnnotation",
              "start": 21,
              "end": 35,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 21
                },
                "end": {
                  "line": 1,
                  "column": 35
                }
              },
              "typeAnnotation": {
                "type": "FunctionTypeAnnotation",
                "start": 23,
                "end": 35,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 23
                  },
                  "end": {
                    "line": 1,
                    "column": 35
                  }
                },
                "params": [],
                "rest": null,
                "returnType": {
                  "type": "NumberTypeAnnotation",
                  "start": 29,
                  "end": 35,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 29
                    },
                    "end": {
                      "line": 1,
                      "column": 35
                    }
                  }
                },
                "typeParameters": null
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "start": 36,
          "end": 38,
          "loc": {
            "start": {
              "line": 1,
              "column": 36
            },
            "end": {
              "line": 1,
              "column": 38
            }
          },
          "body": [],
          "directives": []
        }
      }
    ],
    "directives": []
  }
}