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