{
  "type": "Program",
  "statements": [
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 2,
                  "column": 5
                },
                "end": {
                  "line": 2,
                  "column": 6
                }
              }
            },
            "typeAnnotation": {
              "type": "TSParenthesizedType",
              "typeAnnotation": {
                "type": "TSUnionType",
                "types": [
                  {
                    "type": "TSTypeLiteral",
                    "members": [
                      {
                        "type": "TSPropertySignature",
                        "computed": false,
                        "optional": false,
                        "readonly": false,
                        "key": {
                          "type": "Identifier",
                          "name": "bar",
                          "decorators": [],
                          "loc": {
                            "start": {
                              "line": 2,
                              "column": 10
                            },
                            "end": {
                              "line": 2,
                              "column": 13
                            }
                          }
                        },
                        "typeAnnotation": {
                          "type": "TSStringKeyword",
                          "loc": {
                            "start": {
                              "line": 2,
                              "column": 15
                            },
                            "end": {
                              "line": 2,
                              "column": 21
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 2,
                            "column": 10
                          },
                          "end": {
                            "line": 2,
                            "column": 22
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 9
                      },
                      "end": {
                        "line": 2,
                        "column": 22
                      }
                    }
                  },
                  {
                    "type": "TSTypeLiteral",
                    "members": [
                      {
                        "type": "TSPropertySignature",
                        "computed": false,
                        "optional": false,
                        "readonly": false,
                        "key": {
                          "type": "Identifier",
                          "name": "bar",
                          "decorators": [],
                          "loc": {
                            "start": {
                              "line": 2,
                              "column": 26
                            },
                            "end": {
                              "line": 2,
                              "column": 29
                            }
                          }
                        },
                        "typeAnnotation": {
                          "type": "TSNumberKeyword",
                          "loc": {
                            "start": {
                              "line": 2,
                              "column": 31
                            },
                            "end": {
                              "line": 2,
                              "column": 37
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 2,
                            "column": 26
                          },
                          "end": {
                            "line": 2,
                            "column": 38
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 25
                      },
                      "end": {
                        "line": 2,
                        "column": 38
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 9
                  },
                  "end": {
                    "line": 2,
                    "column": 38
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 2,
                  "column": 8
                },
                "end": {
                  "line": 2,
                  "column": 39
                }
              }
            },
            "loc": {
              "start": {
                "line": 2,
                "column": 5
              },
              "end": {
                "line": 3,
                "column": 2
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 1,
            "column": 13
          },
          "end": {
            "line": 3,
            "column": 2
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "a",
        "decorators": [],
        "loc": {
          "start": {
            "line": 1,
            "column": 11
          },
          "end": {
            "line": 1,
            "column": 12
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 1,
          "column": 1
        },
        "end": {
          "line": 3,
          "column": 2
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "foo",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 5,
                  "column": 5
                },
                "end": {
                  "line": 5,
                  "column": 8
                }
              }
            },
            "typeAnnotation": {
              "type": "TSArrayType",
              "elementType": {
                "type": "TSTypeReference",
                "typeName": {
                  "type": "Identifier",
                  "name": "a",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 5,
                      "column": 11
                    },
                    "end": {
                      "line": 5,
                      "column": 12
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 11
                  },
                  "end": {
                    "line": 5,
                    "column": 12
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 5,
                  "column": 11
                },
                "end": {
                  "line": 5,
                  "column": 14
                }
              }
            },
            "loc": {
              "start": {
                "line": 5,
                "column": 5
              },
              "end": {
                "line": 6,
                "column": 2
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 4,
            "column": 13
          },
          "end": {
            "line": 6,
            "column": 2
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "b",
        "decorators": [],
        "loc": {
          "start": {
            "line": 4,
            "column": 11
          },
          "end": {
            "line": 4,
            "column": 12
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 4,
          "column": 1
        },
        "end": {
          "line": 6,
          "column": 2
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "bar",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 8,
                  "column": 5
                },
                "end": {
                  "line": 8,
                  "column": 8
                }
              }
            },
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "b",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 8,
                    "column": 11
                  },
                  "end": {
                    "line": 8,
                    "column": 12
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 8,
                  "column": 11
                },
                "end": {
                  "line": 8,
                  "column": 12
                }
              }
            },
            "loc": {
              "start": {
                "line": 8,
                "column": 5
              },
              "end": {
                "line": 8,
                "column": 13
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 7,
            "column": 13
          },
          "end": {
            "line": 9,
            "column": 2
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "c",
        "decorators": [],
        "loc": {
          "start": {
            "line": 7,
            "column": 11
          },
          "end": {
            "line": 7,
            "column": 12
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 7,
          "column": 1
        },
        "end": {
          "line": 9,
          "column": 2
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "a5",
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "c",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 10,
                    "column": 9
                  },
                  "end": {
                    "line": 10,
                    "column": 10
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 10,
                  "column": 9
                },
                "end": {
                  "line": 10,
                  "column": 10
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 10,
                "column": 5
              },
              "end": {
                "line": 10,
                "column": 7
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 10,
              "column": 5
            },
            "end": {
              "line": 10,
              "column": 7
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 10,
          "column": 1
        },
        "end": {
          "line": 10,
          "column": 11
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "AssignmentExpression",
        "operator": "=",
        "left": {
          "type": "MemberExpression",
          "object": {
            "type": "MemberExpression",
            "object": {
              "type": "MemberExpression",
              "object": {
                "type": "MemberExpression",
                "object": {
                  "type": "MemberExpression",
                  "object": {
                    "type": "Identifier",
                    "name": "a5",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 1
                      },
                      "end": {
                        "line": 11,
                        "column": 3
                      }
                    }
                  },
                  "property": {
                    "type": "Identifier",
                    "name": "bar",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 4
                      },
                      "end": {
                        "line": 11,
                        "column": 7
                      }
                    }
                  },
                  "computed": false,
                  "optional": false,
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 1
                    },
                    "end": {
                      "line": 11,
                      "column": 7
                    }
                  }
                },
                "property": {
                  "type": "Identifier",
                  "name": "foo",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 8
                    },
                    "end": {
                      "line": 11,
                      "column": 11
                    }
                  }
                },
                "computed": false,
                "optional": false,
                "loc": {
                  "start": {
                    "line": 11,
                    "column": 1
                  },
                  "end": {
                    "line": 11,
                    "column": 11
                  }
                }
              },
              "property": {
                "type": "NumberLiteral",
                "value": 0,
                "loc": {
                  "start": {
                    "line": 11,
                    "column": 12
                  },
                  "end": {
                    "line": 11,
                    "column": 13
                  }
                }
              },
              "computed": true,
              "optional": false,
              "loc": {
                "start": {
                  "line": 11,
                  "column": 1
                },
                "end": {
                  "line": 11,
                  "column": 14
                }
              }
            },
            "property": {
              "type": "Identifier",
              "name": "a",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 11,
                  "column": 15
                },
                "end": {
                  "line": 11,
                  "column": 16
                }
              }
            },
            "computed": false,
            "optional": false,
            "loc": {
              "start": {
                "line": 11,
                "column": 1
              },
              "end": {
                "line": 11,
                "column": 16
              }
            }
          },
          "property": {
            "type": "Identifier",
            "name": "bar",
            "decorators": [],
            "loc": {
              "start": {
                "line": 11,
                "column": 17
              },
              "end": {
                "line": 11,
                "column": 20
              }
            }
          },
          "computed": false,
          "optional": false,
          "loc": {
            "start": {
              "line": 11,
              "column": 1
            },
            "end": {
              "line": 11,
              "column": 20
            }
          }
        },
        "right": {
          "type": "BooleanLiteral",
          "value": false,
          "loc": {
            "start": {
              "line": 11,
              "column": 23
            },
            "end": {
              "line": 11,
              "column": 28
            }
          }
        },
        "loc": {
          "start": {
            "line": 11,
            "column": 1
          },
          "end": {
            "line": 11,
            "column": 28
          }
        }
      },
      "loc": {
        "start": {
          "line": 11,
          "column": 1
        },
        "end": {
          "line": 11,
          "column": 29
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1
    },
    "end": {
      "line": 11,
      "column": 29
    }
  }
}
TypeError: Type 'false' is not assignable to type 'string | number'. [memberExpTest_3.ts:11:1]
