{
  "type": "Program",
  "statements": [
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "function1",
          "loc": {
            "start": {
              "line": 17,
              "column": 10,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 17,
              "column": 19,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 17,
                      "column": 23,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 17,
                      "column": 29,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 17,
                      "column": 32,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 17,
                      "column": 38,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 17,
                  "column": 23,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 17,
                  "column": 38,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 17,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 17,
                "column": 21,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "a",
            "loc": {
              "start": {
                "line": 17,
                "column": 49,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 17,
                "column": 50,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "typeAnnotation": null,
          "asserts": true,
          "loc": {
            "start": {
              "line": 17,
              "column": 41,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 17,
              "column": 50,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": null,
              "loc": {
                "start": {
                  "line": 17,
                  "column": 53,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 17,
                  "column": 59,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 17,
              "column": 51,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 17,
              "column": 61,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 17,
            "column": 1,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 17,
            "column": 61,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 17,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 17,
          "column": 61,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 17,
          "column": 61,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 17,
          "column": 62,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "var1",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "a",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 15,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 18,
                            "column": 21,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 24,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 18,
                            "column": 30,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 15,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 18,
                        "column": 30,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 12,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 18,
                      "column": 13,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSTypePredicate",
                "parameterName": {
                  "type": "Identifier",
                  "name": "a",
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 43,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 18,
                      "column": 44,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "typeAnnotation": null,
                "asserts": true,
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 18,
                    "column": 44,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 18,
                  "column": 11,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 18,
                  "column": 44,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 18,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 18,
                "column": 9,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 18,
              "column": 5,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 18,
              "column": 9,
              "program": "test-ts-type-predicate.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 18,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 18,
          "column": 45,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "a",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 20,
                          "column": 9,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 20,
                          "column": 15,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 20,
                          "column": 18,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 20,
                          "column": 24,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 9,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 20,
                      "column": 24,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 20,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 20,
                    "column": 7,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "a",
                "loc": {
                  "start": {
                    "line": 20,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 20,
                    "column": 36,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": null,
              "asserts": true,
              "loc": {
                "start": {
                  "line": 20,
                  "column": 27,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 20,
                  "column": 36,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 20,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 20,
                "column": 37,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "a",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 21,
                          "column": 9,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 21,
                          "column": 15,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 21,
                          "column": 18,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 21,
                          "column": 24,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 9,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 21,
                      "column": 24,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 21,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 21,
                    "column": 7,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 21,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 21,
                    "column": 39,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": null,
              "asserts": true,
              "loc": {
                "start": {
                  "line": 21,
                  "column": 27,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 21,
                  "column": 39,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 21,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 21,
                "column": 40,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 19,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 22,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface1",
        "loc": {
          "start": {
            "line": 19,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 19,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 19,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 22,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "function2",
          "loc": {
            "start": {
              "line": 24,
              "column": 10,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 24,
              "column": 19,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "asserts",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 29,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 24,
                      "column": 35,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 38,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 24,
                      "column": 44,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 24,
                  "column": 29,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 24,
                  "column": 44,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 24,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 24,
                "column": 27,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "asserts",
            "loc": {
              "start": {
                "line": 24,
                "column": 47,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 24,
                "column": 54,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "typeAnnotation": {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 24,
                "column": 58,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 24,
                "column": 64,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "asserts": false,
          "loc": {
            "start": {
              "line": 24,
              "column": 47,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 24,
              "column": 64,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": null,
              "loc": {
                "start": {
                  "line": 24,
                  "column": 67,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 24,
                  "column": 73,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 24,
              "column": 65,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 24,
              "column": 75,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 24,
            "column": 1,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 24,
            "column": 75,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 24,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 24,
          "column": 75,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 24,
          "column": 75,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 24,
          "column": 76,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "var2",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "asserts",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 25,
                            "column": 21,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 25,
                            "column": 27,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 25,
                            "column": 30,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 25,
                            "column": 36,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 25,
                        "column": 21,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 25,
                        "column": 36,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 25,
                      "column": 12,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 25,
                      "column": 19,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSTypePredicate",
                "parameterName": {
                  "type": "Identifier",
                  "name": "asserts",
                  "loc": {
                    "start": {
                      "line": 25,
                      "column": 41,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 25,
                      "column": 48,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "typeAnnotation": {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 25,
                      "column": 52,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 25,
                      "column": 58,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "asserts": false,
                "loc": {
                  "start": {
                    "line": 25,
                    "column": 41,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 25,
                    "column": 58,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 25,
                  "column": 11,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 25,
                  "column": 58,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 25,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 25,
                "column": 9,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 25,
              "column": 5,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 25,
              "column": 9,
              "program": "test-ts-type-predicate.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 25,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 25,
          "column": 59,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "loc": {
                "start": {
                  "line": 27,
                  "column": 5,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 27,
                  "column": 6,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "typeAnnotation": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 27,
                  "column": 8,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 27,
                  "column": 14,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 27,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 27,
                "column": 15,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "asserts",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 28,
                          "column": 15,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 28,
                          "column": 21,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 28,
                          "column": 24,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 28,
                          "column": 30,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 28,
                      "column": 15,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 28,
                      "column": 30,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 28,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 28,
                    "column": 13,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "asserts",
                "loc": {
                  "start": {
                    "line": 28,
                    "column": 33,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 28,
                    "column": 40,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 28,
                    "column": 44,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 28,
                    "column": 50,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 28,
                  "column": 33,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 28,
                  "column": 50,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 28,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 28,
                "column": 51,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "asserts",
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "a",
                        "loc": {
                          "start": {
                            "line": 29,
                            "column": 17,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 29,
                            "column": 18,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSUnionType",
                        "types": [
                          {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 20,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 29,
                                "column": 26,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 29,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 29,
                                "column": 35,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 29,
                            "column": 20,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 29,
                            "column": 35,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 17,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 29,
                          "column": 37,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 29,
                      "column": 15,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 29,
                      "column": 37,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 29,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 29,
                    "column": 13,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "asserts",
                "loc": {
                  "start": {
                    "line": 29,
                    "column": 40,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 29,
                    "column": 47,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 29,
                    "column": 51,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 29,
                    "column": 55,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 29,
                  "column": 40,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 29,
                  "column": 55,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 29,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 29,
                "column": 56,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 26,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 30,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface2",
        "loc": {
          "start": {
            "line": 26,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 26,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 26,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 30,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "function3",
          "loc": {
            "start": {
              "line": 32,
              "column": 10,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 32,
              "column": 19,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "is",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 32,
                      "column": 24,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 32,
                      "column": 30,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 32,
                      "column": 33,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 32,
                      "column": 39,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 32,
                  "column": 24,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 32,
                  "column": 39,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 32,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 32,
                "column": 22,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "is",
            "loc": {
              "start": {
                "line": 32,
                "column": 42,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 32,
                "column": 44,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "typeAnnotation": {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 32,
                "column": 48,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 32,
                "column": 54,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "asserts": false,
          "loc": {
            "start": {
              "line": 32,
              "column": 42,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 32,
              "column": 54,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": null,
              "loc": {
                "start": {
                  "line": 32,
                  "column": 57,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 32,
                  "column": 63,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 32,
              "column": 55,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 32,
              "column": 65,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 32,
            "column": 1,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 32,
            "column": 65,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 32,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 32,
          "column": 65,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 32,
          "column": 65,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 32,
          "column": 66,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "var3",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "is",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 33,
                            "column": 16,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 33,
                            "column": 22,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 33,
                            "column": 25,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 33,
                            "column": 31,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 33,
                        "column": 16,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 33,
                        "column": 31,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 33,
                      "column": 12,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 33,
                      "column": 14,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSTypePredicate",
                "parameterName": {
                  "type": "Identifier",
                  "name": "is",
                  "loc": {
                    "start": {
                      "line": 33,
                      "column": 36,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 33,
                      "column": 38,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "typeAnnotation": {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 33,
                      "column": 42,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 33,
                      "column": 48,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "asserts": false,
                "loc": {
                  "start": {
                    "line": 33,
                    "column": 36,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 33,
                    "column": 48,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 33,
                  "column": 11,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 33,
                  "column": 48,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 33,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 33,
                "column": 9,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 33,
              "column": 5,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 33,
              "column": 9,
              "program": "test-ts-type-predicate.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 33,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 33,
          "column": 49,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "loc": {
                "start": {
                  "line": 35,
                  "column": 5,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 35,
                  "column": 6,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "typeAnnotation": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 35,
                  "column": 8,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 35,
                  "column": 14,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 35,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 35,
                "column": 15,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "is",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 36,
                          "column": 10,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 36,
                          "column": 16,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 36,
                          "column": 19,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 36,
                          "column": 25,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 36,
                      "column": 10,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 36,
                      "column": 25,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 36,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 36,
                    "column": 8,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "is",
                "loc": {
                  "start": {
                    "line": 36,
                    "column": 28,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 36,
                    "column": 30,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 36,
                    "column": 34,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 36,
                    "column": 40,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 36,
                  "column": 28,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 36,
                  "column": 40,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 36,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 36,
                "column": 41,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "is",
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "a",
                        "loc": {
                          "start": {
                            "line": 37,
                            "column": 12,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 37,
                            "column": 13,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSUnionType",
                        "types": [
                          {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 37,
                                "column": 15,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 37,
                                "column": 21,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 37,
                                "column": 24,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 37,
                                "column": 30,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 37,
                            "column": 15,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 37,
                            "column": 30,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 37,
                          "column": 12,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 37,
                          "column": 32,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 37,
                      "column": 10,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 37,
                      "column": 32,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 37,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 37,
                    "column": 8,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "is",
                "loc": {
                  "start": {
                    "line": 37,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 37,
                    "column": 37,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 37,
                    "column": 41,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 37,
                    "column": 45,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 37,
                  "column": 35,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 37,
                  "column": 45,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 37,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 37,
                "column": 46,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 34,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 38,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface3",
        "loc": {
          "start": {
            "line": 34,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 34,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 34,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 38,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "function4",
          "loc": {
            "start": {
              "line": 40,
              "column": 10,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 40,
              "column": 19,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 40,
                      "column": 23,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 40,
                      "column": 29,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 40,
                      "column": 32,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 40,
                      "column": 38,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 40,
                  "column": 23,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 40,
                  "column": 38,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 40,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 40,
                "column": 21,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "a",
            "loc": {
              "start": {
                "line": 40,
                "column": 41,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 40,
                "column": 42,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "typeAnnotation": {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 40,
                "column": 46,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 40,
                "column": 52,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "asserts": false,
          "loc": {
            "start": {
              "line": 40,
              "column": 41,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 40,
              "column": 52,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": null,
              "loc": {
                "start": {
                  "line": 40,
                  "column": 55,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 40,
                  "column": 61,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 40,
              "column": 53,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 40,
              "column": 63,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 40,
            "column": 1,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 40,
            "column": 63,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 40,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 40,
          "column": 63,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 40,
          "column": 63,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 40,
          "column": 64,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "var4",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "a",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 41,
                            "column": 15,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 41,
                            "column": 21,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 41,
                            "column": 24,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 41,
                            "column": 30,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 41,
                        "column": 15,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 41,
                        "column": 30,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 41,
                      "column": 12,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 41,
                      "column": 13,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSTypePredicate",
                "parameterName": {
                  "type": "Identifier",
                  "name": "a",
                  "loc": {
                    "start": {
                      "line": 41,
                      "column": 35,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 41,
                      "column": 36,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "typeAnnotation": {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 41,
                      "column": 40,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 41,
                      "column": 46,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "asserts": false,
                "loc": {
                  "start": {
                    "line": 41,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 41,
                    "column": 46,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 41,
                  "column": 11,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 41,
                  "column": 46,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 41,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 41,
                "column": 9,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 41,
              "column": 5,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 41,
              "column": 9,
              "program": "test-ts-type-predicate.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 41,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 41,
          "column": 47,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "loc": {
                "start": {
                  "line": 43,
                  "column": 5,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 43,
                  "column": 6,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "typeAnnotation": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 43,
                  "column": 8,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 43,
                  "column": 14,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 43,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 43,
                "column": 15,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "a",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 44,
                          "column": 9,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 44,
                          "column": 15,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 44,
                          "column": 18,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 44,
                          "column": 24,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 44,
                      "column": 9,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 44,
                      "column": 24,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 44,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 44,
                    "column": 7,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "a",
                "loc": {
                  "start": {
                    "line": 44,
                    "column": 27,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 44,
                    "column": 28,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 44,
                    "column": 32,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 44,
                    "column": 38,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 44,
                  "column": 27,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 44,
                  "column": 38,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 44,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 44,
                "column": 39,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "a",
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "a",
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 11,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 45,
                            "column": 12,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSUnionType",
                        "types": [
                          {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 45,
                                "column": 14,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 45,
                                "column": 20,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 45,
                                "column": 23,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 45,
                                "column": 29,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 14,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 45,
                            "column": 29,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 45,
                          "column": 11,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 45,
                          "column": 31,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 45,
                      "column": 9,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 45,
                      "column": 31,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 45,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 45,
                    "column": 7,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "a",
                "loc": {
                  "start": {
                    "line": 45,
                    "column": 34,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 45,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 45,
                    "column": 39,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 45,
                    "column": 43,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 45,
                  "column": 34,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 45,
                  "column": 43,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 45,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 45,
                "column": 44,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 42,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 46,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface4",
        "loc": {
          "start": {
            "line": 42,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 42,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 42,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 46,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "function5",
          "loc": {
            "start": {
              "line": 48,
              "column": 10,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 48,
              "column": 19,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 48,
                      "column": 23,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 48,
                      "column": 29,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 48,
                      "column": 32,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 48,
                      "column": 38,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 48,
                  "column": 23,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 48,
                  "column": 38,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 48,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 48,
                "column": 21,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "a",
            "loc": {
              "start": {
                "line": 48,
                "column": 49,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 48,
                "column": 50,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "typeAnnotation": {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 48,
                "column": 54,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 48,
                "column": 60,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "asserts": true,
          "loc": {
            "start": {
              "line": 48,
              "column": 41,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 48,
              "column": 60,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": null,
              "loc": {
                "start": {
                  "line": 48,
                  "column": 63,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 48,
                  "column": 69,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 48,
              "column": 61,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 48,
              "column": 71,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 48,
            "column": 1,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 48,
            "column": 71,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 48,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 48,
          "column": 71,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 48,
          "column": 71,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 48,
          "column": 72,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "var5",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "a",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 49,
                            "column": 15,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 49,
                            "column": 21,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 49,
                            "column": 24,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 49,
                            "column": 30,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 49,
                        "column": 15,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 49,
                        "column": 30,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 49,
                      "column": 12,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 49,
                      "column": 13,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSTypePredicate",
                "parameterName": {
                  "type": "Identifier",
                  "name": "a",
                  "loc": {
                    "start": {
                      "line": 49,
                      "column": 43,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 49,
                      "column": 44,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "typeAnnotation": {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 49,
                      "column": 48,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 49,
                      "column": 54,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "asserts": true,
                "loc": {
                  "start": {
                    "line": 49,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 49,
                    "column": 54,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 49,
                  "column": 11,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 49,
                  "column": 54,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 49,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 49,
                "column": 9,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 49,
              "column": 5,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 49,
              "column": 9,
              "program": "test-ts-type-predicate.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 49,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 49,
          "column": 55,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "loc": {
                "start": {
                  "line": 51,
                  "column": 5,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 51,
                  "column": 6,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "typeAnnotation": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 51,
                  "column": 8,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 51,
                  "column": 14,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 51,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 51,
                "column": 15,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "a",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 52,
                          "column": 9,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 52,
                          "column": 15,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 52,
                          "column": 18,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 52,
                          "column": 24,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 52,
                      "column": 9,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 52,
                      "column": 24,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 52,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 52,
                    "column": 7,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "a",
                "loc": {
                  "start": {
                    "line": 52,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 52,
                    "column": 36,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 52,
                    "column": 40,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 52,
                    "column": 46,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": true,
              "loc": {
                "start": {
                  "line": 52,
                  "column": 27,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 52,
                  "column": 46,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 52,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 52,
                "column": 47,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "a",
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "a",
                        "loc": {
                          "start": {
                            "line": 53,
                            "column": 11,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 53,
                            "column": 12,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSUnionType",
                        "types": [
                          {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 53,
                                "column": 14,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 53,
                                "column": 20,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 53,
                                "column": 23,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 53,
                                "column": 29,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 53,
                            "column": 14,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 53,
                            "column": 29,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 53,
                          "column": 11,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 53,
                          "column": 31,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 53,
                      "column": 9,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 53,
                      "column": 31,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 53,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 53,
                    "column": 7,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "a",
                "loc": {
                  "start": {
                    "line": 53,
                    "column": 42,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 53,
                    "column": 43,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 53,
                    "column": 47,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 53,
                    "column": 51,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": true,
              "loc": {
                "start": {
                  "line": 53,
                  "column": 34,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 53,
                  "column": 51,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 53,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 53,
                "column": 52,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 50,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 54,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface5",
        "loc": {
          "start": {
            "line": 50,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 50,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 50,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 54,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "function6",
          "loc": {
            "start": {
              "line": 56,
              "column": 10,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 56,
              "column": 19,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "asserts",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 56,
                      "column": 29,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 56,
                      "column": 35,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 56,
                      "column": 38,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 56,
                      "column": 44,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 56,
                  "column": 29,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 56,
                  "column": 44,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 56,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 56,
                "column": 27,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "asserts",
            "loc": {
              "start": {
                "line": 56,
                "column": 55,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 56,
                "column": 62,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "typeAnnotation": {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 56,
                "column": 66,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 56,
                "column": 72,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "asserts": true,
          "loc": {
            "start": {
              "line": 56,
              "column": 47,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 56,
              "column": 72,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": null,
              "loc": {
                "start": {
                  "line": 56,
                  "column": 75,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 56,
                  "column": 81,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 56,
              "column": 73,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 56,
              "column": 83,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 56,
            "column": 1,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 56,
            "column": 83,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 56,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 56,
          "column": 83,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 56,
          "column": 83,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 56,
          "column": 84,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "var6",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "asserts",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 57,
                            "column": 21,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 57,
                            "column": 27,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 57,
                            "column": 30,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 57,
                            "column": 36,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 57,
                        "column": 21,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 57,
                        "column": 36,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 57,
                      "column": 12,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 57,
                      "column": 19,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSTypePredicate",
                "parameterName": {
                  "type": "Identifier",
                  "name": "asserts",
                  "loc": {
                    "start": {
                      "line": 57,
                      "column": 49,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 57,
                      "column": 56,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "typeAnnotation": {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 57,
                      "column": 60,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 57,
                      "column": 66,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "asserts": true,
                "loc": {
                  "start": {
                    "line": 57,
                    "column": 41,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 57,
                    "column": 66,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 57,
                  "column": 11,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 57,
                  "column": 66,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 57,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 57,
                "column": 9,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 57,
              "column": 5,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 57,
              "column": 9,
              "program": "test-ts-type-predicate.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 57,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 57,
          "column": 67,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "loc": {
                "start": {
                  "line": 59,
                  "column": 5,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 59,
                  "column": 6,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "typeAnnotation": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 59,
                  "column": 8,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 59,
                  "column": 14,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 59,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 59,
                "column": 15,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "asserts",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 60,
                          "column": 15,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 60,
                          "column": 21,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 60,
                          "column": 24,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 60,
                          "column": 30,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 60,
                      "column": 15,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 60,
                      "column": 30,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 60,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 60,
                    "column": 13,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "asserts",
                "loc": {
                  "start": {
                    "line": 60,
                    "column": 41,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 60,
                    "column": 48,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 60,
                    "column": 52,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 60,
                    "column": 58,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": true,
              "loc": {
                "start": {
                  "line": 60,
                  "column": 33,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 60,
                  "column": 58,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 60,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 60,
                "column": 59,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "asserts",
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "a",
                        "loc": {
                          "start": {
                            "line": 61,
                            "column": 17,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 61,
                            "column": 18,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSUnionType",
                        "types": [
                          {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 61,
                                "column": 20,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 61,
                                "column": 26,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 61,
                                "column": 29,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 61,
                                "column": 35,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 61,
                            "column": 20,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 61,
                            "column": 35,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 61,
                          "column": 17,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 61,
                          "column": 37,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 61,
                      "column": 15,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 61,
                      "column": 37,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 61,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 61,
                    "column": 13,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "asserts",
                "loc": {
                  "start": {
                    "line": 61,
                    "column": 48,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 61,
                    "column": 55,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 61,
                    "column": 59,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 61,
                    "column": 63,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": true,
              "loc": {
                "start": {
                  "line": 61,
                  "column": 40,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 61,
                  "column": 63,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 61,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 61,
                "column": 64,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 58,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 62,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface6",
        "loc": {
          "start": {
            "line": 58,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 58,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 58,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 62,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSTypeAliasDeclaration",
      "id": {
        "type": "Identifier",
        "name": "is",
        "loc": {
          "start": {
            "line": 64,
            "column": 6,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 64,
            "column": 8,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "typeAnnotation": {
        "type": "TSUnionType",
        "types": [
          {
            "type": "TSStringKeyword",
            "loc": {
              "start": {
                "line": 64,
                "column": 11,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 64,
                "column": 17,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 64,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 64,
                "column": 26,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSBooleanKeyword",
            "loc": {
              "start": {
                "line": 64,
                "column": 29,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 64,
                "column": 36,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 64,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 64,
            "column": 36,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 64,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 64,
          "column": 37,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 64,
          "column": 36,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 64,
          "column": 37,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "function7",
          "loc": {
            "start": {
              "line": 66,
              "column": 10,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 66,
              "column": 19,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "is",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 66,
                      "column": 24,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 66,
                      "column": 30,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 66,
                      "column": 33,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 66,
                      "column": 39,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSTypeReference",
                  "typeName": {
                    "type": "Identifier",
                    "name": "is",
                    "loc": {
                      "start": {
                        "line": 66,
                        "column": 42,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 66,
                        "column": 44,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 66,
                      "column": 42,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 66,
                      "column": 44,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 66,
                  "column": 24,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 66,
                  "column": 44,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 66,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 66,
                "column": 22,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "is",
            "loc": {
              "start": {
                "line": 66,
                "column": 47,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 66,
                "column": 49,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "typeAnnotation": {
            "type": "TSTypeReference",
            "typeName": {
              "type": "Identifier",
              "name": "is",
              "loc": {
                "start": {
                  "line": 66,
                  "column": 53,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 66,
                  "column": 55,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 66,
                "column": 53,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 66,
                "column": 55,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "asserts": false,
          "loc": {
            "start": {
              "line": 66,
              "column": 47,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 66,
              "column": 55,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": null,
              "loc": {
                "start": {
                  "line": 66,
                  "column": 58,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 66,
                  "column": 64,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 66,
              "column": 56,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 66,
              "column": 66,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 66,
            "column": 1,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 66,
            "column": 66,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 66,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 66,
          "column": 66,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 66,
          "column": 66,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 66,
          "column": 67,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "var7",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "is",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 67,
                            "column": 16,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 67,
                            "column": 22,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 67,
                            "column": 25,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 67,
                            "column": 31,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSTypeReference",
                        "typeName": {
                          "type": "Identifier",
                          "name": "is",
                          "loc": {
                            "start": {
                              "line": 67,
                              "column": 34,
                              "program": "test-ts-type-predicate.ts"
                            },
                            "end": {
                              "line": 67,
                              "column": 36,
                              "program": "test-ts-type-predicate.ts"
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 67,
                            "column": 34,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 67,
                            "column": 36,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 67,
                        "column": 16,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 67,
                        "column": 36,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 67,
                      "column": 12,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 67,
                      "column": 14,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSTypePredicate",
                "parameterName": {
                  "type": "Identifier",
                  "name": "is",
                  "loc": {
                    "start": {
                      "line": 67,
                      "column": 41,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 67,
                      "column": 43,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "typeAnnotation": {
                  "type": "TSTypeReference",
                  "typeName": {
                    "type": "Identifier",
                    "name": "is",
                    "loc": {
                      "start": {
                        "line": 67,
                        "column": 47,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 67,
                        "column": 49,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 67,
                      "column": 47,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 67,
                      "column": 49,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "asserts": false,
                "loc": {
                  "start": {
                    "line": 67,
                    "column": 41,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 67,
                    "column": 49,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 67,
                  "column": 11,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 67,
                  "column": 49,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 67,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 67,
                "column": 9,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 67,
              "column": 5,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 67,
              "column": 9,
              "program": "test-ts-type-predicate.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 67,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 67,
          "column": 50,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "is",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 69,
                          "column": 10,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 69,
                          "column": 16,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 69,
                          "column": 19,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 69,
                          "column": 25,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSTypeReference",
                      "typeName": {
                        "type": "Identifier",
                        "name": "is",
                        "loc": {
                          "start": {
                            "line": 69,
                            "column": 28,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 69,
                            "column": 30,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 69,
                          "column": 28,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 69,
                          "column": 30,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 69,
                      "column": 10,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 69,
                      "column": 30,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 69,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 69,
                    "column": 8,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "is",
                "loc": {
                  "start": {
                    "line": 69,
                    "column": 33,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 69,
                    "column": 35,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSTypeReference",
                "typeName": {
                  "type": "Identifier",
                  "name": "is",
                  "loc": {
                    "start": {
                      "line": 69,
                      "column": 39,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 69,
                      "column": 41,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 69,
                    "column": 39,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 69,
                    "column": 41,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 69,
                  "column": 33,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 69,
                  "column": 41,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 69,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 69,
                "column": 42,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 68,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 70,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface7",
        "loc": {
          "start": {
            "line": 68,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 68,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 68,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 70,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "function8",
          "loc": {
            "start": {
              "line": 72,
              "column": 10,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 72,
              "column": 19,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "string",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 72,
                      "column": 28,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 72,
                      "column": 34,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 72,
                      "column": 37,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 72,
                      "column": 43,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                {
                  "type": "TSTypeReference",
                  "typeName": {
                    "type": "Identifier",
                    "name": "is",
                    "loc": {
                      "start": {
                        "line": 72,
                        "column": 46,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 72,
                        "column": 48,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 72,
                      "column": 46,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 72,
                      "column": 48,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 72,
                  "column": 28,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 72,
                  "column": 48,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 72,
                "column": 20,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 72,
                "column": 26,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "string",
            "loc": {
              "start": {
                "line": 72,
                "column": 51,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 72,
                "column": 57,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "typeAnnotation": {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 72,
                "column": 61,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 72,
                "column": 67,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "asserts": false,
          "loc": {
            "start": {
              "line": 72,
              "column": 51,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 72,
              "column": 67,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": null,
              "loc": {
                "start": {
                  "line": 72,
                  "column": 70,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 72,
                  "column": 76,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 72,
              "column": 68,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 72,
              "column": 78,
              "program": "test-ts-type-predicate.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 72,
            "column": 1,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 72,
            "column": 78,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 72,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 72,
          "column": 78,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 72,
          "column": 78,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 72,
          "column": 79,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "var8",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "string",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 73,
                            "column": 20,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 73,
                            "column": 26,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 73,
                            "column": 29,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 73,
                            "column": 35,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      {
                        "type": "TSTypeReference",
                        "typeName": {
                          "type": "Identifier",
                          "name": "is",
                          "loc": {
                            "start": {
                              "line": 73,
                              "column": 38,
                              "program": "test-ts-type-predicate.ts"
                            },
                            "end": {
                              "line": 73,
                              "column": 40,
                              "program": "test-ts-type-predicate.ts"
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 73,
                            "column": 38,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 73,
                            "column": 40,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 73,
                        "column": 20,
                        "program": "test-ts-type-predicate.ts"
                      },
                      "end": {
                        "line": 73,
                        "column": 40,
                        "program": "test-ts-type-predicate.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 73,
                      "column": 12,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 73,
                      "column": 18,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSTypePredicate",
                "parameterName": {
                  "type": "Identifier",
                  "name": "string",
                  "loc": {
                    "start": {
                      "line": 73,
                      "column": 45,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 73,
                      "column": 51,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "typeAnnotation": {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 73,
                      "column": 55,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 73,
                      "column": 61,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "asserts": false,
                "loc": {
                  "start": {
                    "line": 73,
                    "column": 45,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 73,
                    "column": 61,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 73,
                  "column": 11,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 73,
                  "column": 61,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 73,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 73,
                "column": 9,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 73,
              "column": 5,
              "program": "test-ts-type-predicate.ts"
            },
            "end": {
              "line": 73,
              "column": 9,
              "program": "test-ts-type-predicate.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 73,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 73,
          "column": 62,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "loc": {
                "start": {
                  "line": 75,
                  "column": 5,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 75,
                  "column": 6,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "is",
                "loc": {
                  "start": {
                    "line": 75,
                    "column": 8,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 75,
                    "column": 10,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 75,
                  "column": 8,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 75,
                  "column": 10,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 75,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 75,
                "column": 11,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "string",
                "typeAnnotation": {
                  "type": "TSUnionType",
                  "types": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 76,
                          "column": 14,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 76,
                          "column": 20,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 76,
                          "column": 23,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 76,
                          "column": 29,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    },
                    {
                      "type": "TSTypeReference",
                      "typeName": {
                        "type": "Identifier",
                        "name": "is",
                        "loc": {
                          "start": {
                            "line": 76,
                            "column": 32,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 76,
                            "column": 34,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 76,
                          "column": 32,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 76,
                          "column": 34,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 76,
                      "column": 14,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 76,
                      "column": 34,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 76,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 76,
                    "column": 12,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "string",
                "loc": {
                  "start": {
                    "line": 76,
                    "column": 37,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 76,
                    "column": 43,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 76,
                    "column": 47,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 76,
                    "column": 53,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 76,
                  "column": 37,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 76,
                  "column": 53,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 76,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 76,
                "column": 54,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "string",
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "a",
                        "loc": {
                          "start": {
                            "line": 77,
                            "column": 16,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 77,
                            "column": 17,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSUnionType",
                        "types": [
                          {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 77,
                                "column": 19,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 77,
                                "column": 25,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 77,
                                "column": 28,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 77,
                                "column": 34,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSTypeReference",
                            "typeName": {
                              "type": "Identifier",
                              "name": "is",
                              "loc": {
                                "start": {
                                  "line": 77,
                                  "column": 37,
                                  "program": "test-ts-type-predicate.ts"
                                },
                                "end": {
                                  "line": 77,
                                  "column": 39,
                                  "program": "test-ts-type-predicate.ts"
                                }
                              }
                            },
                            "loc": {
                              "start": {
                                "line": 77,
                                "column": 37,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 77,
                                "column": 39,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 77,
                            "column": 19,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 77,
                            "column": 39,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 77,
                          "column": 16,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 77,
                          "column": 41,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 77,
                      "column": 14,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 77,
                      "column": 41,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 77,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 77,
                    "column": 12,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "Identifier",
                "name": "string",
                "loc": {
                  "start": {
                    "line": 77,
                    "column": 44,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 77,
                    "column": 50,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 77,
                    "column": 54,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 77,
                    "column": 58,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 77,
                  "column": 44,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 77,
                  "column": 58,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 77,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 77,
                "column": 59,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 74,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 78,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface8",
        "loc": {
          "start": {
            "line": 74,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 74,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 74,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 78,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "loc": {
                "start": {
                  "line": 81,
                  "column": 5,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 81,
                  "column": 6,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "is",
                "loc": {
                  "start": {
                    "line": 81,
                    "column": 8,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 81,
                    "column": 10,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 81,
                  "column": 8,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 81,
                  "column": 10,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 81,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 81,
                "column": 11,
                "program": "test-ts-type-predicate.ts"
              }
            }
          },
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "string",
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "a",
                        "loc": {
                          "start": {
                            "line": 82,
                            "column": 16,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 82,
                            "column": 17,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSUnionType",
                        "types": [
                          {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 82,
                                "column": 19,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 82,
                                "column": 25,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 82,
                                "column": 28,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 82,
                                "column": 34,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          },
                          {
                            "type": "TSTypeReference",
                            "typeName": {
                              "type": "Identifier",
                              "name": "is",
                              "loc": {
                                "start": {
                                  "line": 82,
                                  "column": 37,
                                  "program": "test-ts-type-predicate.ts"
                                },
                                "end": {
                                  "line": 82,
                                  "column": 39,
                                  "program": "test-ts-type-predicate.ts"
                                }
                              }
                            },
                            "loc": {
                              "start": {
                                "line": 82,
                                "column": 37,
                                "program": "test-ts-type-predicate.ts"
                              },
                              "end": {
                                "line": 82,
                                "column": 39,
                                "program": "test-ts-type-predicate.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 82,
                            "column": 19,
                            "program": "test-ts-type-predicate.ts"
                          },
                          "end": {
                            "line": 82,
                            "column": 39,
                            "program": "test-ts-type-predicate.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 82,
                          "column": 16,
                          "program": "test-ts-type-predicate.ts"
                        },
                        "end": {
                          "line": 82,
                          "column": 41,
                          "program": "test-ts-type-predicate.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 82,
                      "column": 14,
                      "program": "test-ts-type-predicate.ts"
                    },
                    "end": {
                      "line": 82,
                      "column": 41,
                      "program": "test-ts-type-predicate.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 82,
                    "column": 6,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 82,
                    "column": 12,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSTypePredicate",
              "parameterName": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 82,
                    "column": 44,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 82,
                    "column": 48,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSThisType",
                "loc": {
                  "start": {
                    "line": 82,
                    "column": 52,
                    "program": "test-ts-type-predicate.ts"
                  },
                  "end": {
                    "line": 82,
                    "column": 56,
                    "program": "test-ts-type-predicate.ts"
                  }
                }
              },
              "asserts": false,
              "loc": {
                "start": {
                  "line": 82,
                  "column": 44,
                  "program": "test-ts-type-predicate.ts"
                },
                "end": {
                  "line": 82,
                  "column": 56,
                  "program": "test-ts-type-predicate.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 82,
                "column": 5,
                "program": "test-ts-type-predicate.ts"
              },
              "end": {
                "line": 82,
                "column": 57,
                "program": "test-ts-type-predicate.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 80,
            "column": 22,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 83,
            "column": 2,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface9",
        "loc": {
          "start": {
            "line": 80,
            "column": 11,
            "program": "test-ts-type-predicate.ts"
          },
          "end": {
            "line": 80,
            "column": 21,
            "program": "test-ts-type-predicate.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 80,
          "column": 1,
          "program": "test-ts-type-predicate.ts"
        },
        "end": {
          "line": 83,
          "column": 2,
          "program": "test-ts-type-predicate.ts"
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1,
      "program": "test-ts-type-predicate.ts"
    },
    "end": {
      "line": 83,
      "column": 2,
      "program": "test-ts-type-predicate.ts"
    }
  }
}
