{
  "type":"Program",
  "loc":{"source":null,"start":{"line":2,"column":0},"end":{"line":2,"column":36}},
  "range":[32,68],
  "body":[
    {
      "type":"TypeAlias",
      "loc":{"source":null,"start":{"line":2,"column":0},"end":{"line":2,"column":36}},
      "range":[32,68],
      "id":{
        "type":"Identifier",
        "loc":{"source":null,"start":{"line":2,"column":5},"end":{"line":2,"column":6}},
        "range":[37,38],
        "name":"A",
        "typeAnnotation":null,
        "optional":false
      },
      "typeParameters":null,
      "right":{
        "type":"UnionTypeAnnotation",
        "loc":{"source":null,"start":{"line":2,"column":9},"end":{"line":2,"column":35}},
        "range":[41,67],
        "types":[
          {
            "type":"StringTypeAnnotation",
            "loc":{"source":null,"start":{"line":2,"column":9},"end":{"line":2,"column":15}},
            "range":[41,47]
          },
          {
            "type":"FunctionTypeAnnotation",
            "loc":{"source":null,"start":{"line":2,"column":18},"end":{"line":2,"column":35}},
            "range":[50,67],
            "params":[
              {
                "type":"FunctionTypeParam",
                "loc":{"source":null,"start":{"line":2,"column":18},"end":{"line":2,"column":24}},
                "range":[50,56],
                "name":null,
                "typeAnnotation":{
                  "type":"NumberTypeAnnotation",
                  "loc":{"source":null,"start":{"line":2,"column":18},"end":{"line":2,"column":24}},
                  "range":[50,56]
                },
                "optional":false
              }
            ],
            "returnType":{
              "type":"BooleanTypeAnnotation",
              "loc":{"source":null,"start":{"line":2,"column":28},"end":{"line":2,"column":35}},
              "range":[60,67]
            },
            "rest":null,
            "typeParameters":null
          }
        ]
      }
    }
  ],
  "comments":[
    {
      "type":"Line",
      "loc":{"source":null,"start":{"line":1,"column":0},"end":{"line":1,"column":31}},
      "range":[0,31],
      "value":" string | (number => boolean)"
    }
  ]
}
