{
  "type": "Program",
  "statements": [
    {
      "type": "TSDeclareFunction",
      "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": "is",
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 24
                    },
                    "end": {
                      "line": 1,
                      "column": 30
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 33
                    },
                    "end": {
                      "line": 1,
                      "column": 39
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 1,
                  "column": 24
                },
                "end": {
                  "line": 1,
                  "column": 39
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 20
              },
              "end": {
                "line": 1,
                "column": 22
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypePredicate",
          "parameterName": {
            "type": "Identifier",
            "name": "asserts",
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 42
              },
              "end": {
                "line": 1,
                "column": 49
              }
            }
          },
          "typeAnnotation": {
            "type": "TSTypeLiteral",
            "members": [
              {
                "type": "TSPropertySignature",
                "computed": false,
                "optional": false,
                "readonly": false,
                "key": {
                  "type": "Identifier",
                  "name": "return",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 55
                    },
                    "end": {
                      "line": 1,
                      "column": 61
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 55
                  },
                  "end": {
                    "line": 1,
                    "column": 63
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 53
              },
              "end": {
                "line": 1,
                "column": 63
              }
            }
          },
          "asserts": false,
          "loc": {
            "start": {
              "line": 1,
              "column": 42
            },
            "end": {
              "line": 1,
              "column": 63
            }
          }
        },
        "loc": {
          "start": {
            "line": 1,
            "column": 1
          },
          "end": {
            "line": 1,
            "column": 64
          }
        }
      },
      "loc": {
        "start": {
          "line": 1,
          "column": 1
        },
        "end": {
          "line": 1,
          "column": 64
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 1,
          "column": 63
        },
        "end": {
          "line": 1,
          "column": 64
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1
    },
    "end": {
      "line": 1,
      "column": 64
    }
  }
}
