{
  "type": "Program",
  "statements": [
    {
      "type": "TSTypeAliasDeclaration",
      "id": {
        "type": "Identifier",
        "name": "Consumer",
        "loc": {
          "start": {
            "line": 17,
            "column": 6
          },
          "end": {
            "line": 17,
            "column": 14
          }
        }
      },
      "typeAnnotation": {
        "type": "TSFunctionType",
        "params": [
          {
            "type": "Identifier",
            "name": "x",
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "T",
                "loc": {
                  "start": {
                    "line": 17,
                    "column": 27
                  },
                  "end": {
                    "line": 17,
                    "column": 28
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 17,
                  "column": 27
                },
                "end": {
                  "line": 17,
                  "column": 28
                }
              }
            },
            "loc": {
              "start": {
                "line": 17,
                "column": 24
              },
              "end": {
                "line": 17,
                "column": 25
              }
            }
          }
        ],
        "returnType": {
          "type": "TSVoidKeyword",
          "loc": {
            "start": {
              "line": 17,
              "column": 33
            },
            "end": {
              "line": 17,
              "column": 37
            }
          }
        },
        "loc": {
          "start": {
            "line": 17,
            "column": 23
          },
          "end": {
            "line": 17,
            "column": 37
          }
        }
      },
      "typeParameters": {
        "type": "TSTypeParameterDeclaration",
        "params": [
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "T",
              "loc": {
                "start": {
                  "line": 17,
                  "column": 18
                },
                "end": {
                  "line": 17,
                  "column": 19
                }
              }
            },
            "in": true,
            "out": false,
            "loc": {
              "start": {
                "line": 17,
                "column": 15
              },
              "end": {
                "line": 17,
                "column": 20
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 17,
            "column": 14
          },
          "end": {
            "line": 17,
            "column": 20
          }
        }
      },
      "loc": {
        "start": {
          "line": 17,
          "column": 1
        },
        "end": {
          "line": 17,
          "column": 38
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1
    },
    "end": {
      "line": 17,
      "column": 38
    }
  }
}
