{
  "type": "File",
  "start": 0,
  "end": 53,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 3,
      "column": 1
    }
  },
  "errors": [
    "SyntaxError: Cannot overwrite reserved type string (1:11)"
  ],
  "program": {
    "type": "Program",
    "start": 0,
    "end": 53,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 3,
        "column": 1
      }
    },
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "FunctionDeclaration",
        "start": 0,
        "end": 53,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 3,
            "column": 1
          }
        },
        "id": {
          "type": "Identifier",
          "start": 9,
          "end": 10,
          "loc": {
            "start": {
              "line": 1,
              "column": 9
            },
            "end": {
              "line": 1,
              "column": 10
            },
            "identifierName": "a"
          },
          "name": "a"
        },
        "generator": false,
        "async": false,
        "typeParameters": {
          "type": "TypeParameterDeclaration",
          "start": 10,
          "end": 18,
          "loc": {
            "start": {
              "line": 1,
              "column": 10
            },
            "end": {
              "line": 1,
              "column": 18
            }
          },
          "params": [
            {
              "type": "TypeParameter",
              "start": 11,
              "end": 17,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 11
                },
                "end": {
                  "line": 1,
                  "column": 17
                }
              },
              "name": "string",
              "variance": null
            }
          ]
        },
        "params": [
          {
            "type": "Identifier",
            "start": 19,
            "end": 28,
            "loc": {
              "start": {
                "line": 1,
                "column": 19
              },
              "end": {
                "line": 1,
                "column": 28
              },
              "identifierName": "x"
            },
            "name": "x",
            "typeAnnotation": {
              "type": "TypeAnnotation",
              "start": 20,
              "end": 28,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 20
                },
                "end": {
                  "line": 1,
                  "column": 28
                }
              },
              "typeAnnotation": {
                "type": "StringTypeAnnotation",
                "start": 22,
                "end": 28,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 22
                  },
                  "end": {
                    "line": 1,
                    "column": 28
                  }
                }
              }
            }
          }
        ],
        "predicate": null,
        "returnType": {
          "type": "TypeAnnotation",
          "start": 29,
          "end": 37,
          "loc": {
            "start": {
              "line": 1,
              "column": 29
            },
            "end": {
              "line": 1,
              "column": 37
            }
          },
          "typeAnnotation": {
            "type": "StringTypeAnnotation",
            "start": 31,
            "end": 37,
            "loc": {
              "start": {
                "line": 1,
                "column": 31
              },
              "end": {
                "line": 1,
                "column": 37
              }
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "start": 38,
          "end": 53,
          "loc": {
            "start": {
              "line": 1,
              "column": 38
            },
            "end": {
              "line": 3,
              "column": 1
            }
          },
          "body": [
            {
              "type": "ReturnStatement",
              "start": 42,
              "end": 51,
              "loc": {
                "start": {
                  "line": 2,
                  "column": 2
                },
                "end": {
                  "line": 2,
                  "column": 11
                }
              },
              "argument": {
                "type": "Identifier",
                "start": 49,
                "end": 50,
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 9
                  },
                  "end": {
                    "line": 2,
                    "column": 10
                  },
                  "identifierName": "x"
                },
                "name": "x"
              }
            }
          ],
          "directives": []
        }
      }
    ],
    "directives": []
  }
}