{
  "programs": [
    "Program {\n    span: 63..897,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)"
  ],
  "decls": [
    "TsInterface(\n    TsInterfaceDecl {\n        span: 63..104,\n        ident: Ident {\n            span: 73..77,\n            sym: \"Base\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 80..94,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 80..83,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 95..152,\n        ident: Ident {\n            span: 105..112,\n            sym: \"Derived\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 121..127,\n                sym: \"Base\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 128..142,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 128..131,\n                            sym: \"bar\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 143..205,\n        ident: Ident {\n            span: 153..161,\n            sym: \"Derived2\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 170..179,\n                sym: \"Derived\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 180..194,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 180..183,\n                            sym: \"baz\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 196..248,\n        ident: Ident {\n            span: 206..207,\n            sym: \"A\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 214..237,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 215..216,\n                        name: Some(\n                            Ident {\n                                span: 215..216,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 239..307,\n        ident: Ident {\n            span: 249..250,\n            sym: \"B\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 259..262,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 267..296,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 268..269,\n                        name: Some(\n                            Ident {\n                                span: 268..269,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 298..365,\n        ident: Ident {\n            span: 308..310,\n            sym: \"B2\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 319..322,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 327..357,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 328..329,\n                        name: Some(\n                            Ident {\n                                span: 328..329,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 381..458,\n        ident: Ident {\n            span: 391..392,\n            sym: \"A\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 393..394,\n                sym: \"T\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 422..443,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 423..424,\n                        name: Some(\n                            Ident {\n                                span: 423..424,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 449..538,\n        ident: Ident {\n            span: 459..460,\n            sym: \"B\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 469..471,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 487..523,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 488..489,\n                        name: Some(\n                            Ident {\n                                span: 488..489,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 529..620,\n        ident: Ident {\n            span: 539..541,\n            sym: \"B2\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 550..552,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 571..605,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 572..573,\n                        name: Some(\n                            Ident {\n                                span: 572..573,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 611..714,\n        ident: Ident {\n            span: 621..623,\n            sym: \"B3\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 624..625,\n                sym: \"T\",\n            },\n        ],\n        extends: [\n            Ident {\n                span: 651..653,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 666..699,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 667..668,\n                        name: Some(\n                            Ident {\n                                span: 667..668,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 705..811,\n        ident: Ident {\n            span: 715..717,\n            sym: \"B4\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 718..719,\n                sym: \"T\",\n            },\n        ],\n        extends: [\n            Ident {\n                span: 745..747,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 760..796,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 761..762,\n                        name: Some(\n                            Ident {\n                                span: 761..762,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 802..897,\n        ident: Ident {\n            span: 812..814,\n            sym: \"B5\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 815..816,\n                sym: \"T\",\n            },\n        ],\n        extends: [\n            Ident {\n                span: 843..845,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 858..895,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 859..860,\n                        name: Some(\n                            Ident {\n                                span: 859..860,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsModule(\n    TsModuleDecl {\n        span: 359..897,\n        declare: false,\n        global: false,\n        namespace: false,\n        id: Ident(\n            Ident {\n                span: 366..374,\n                sym: \"Generics\",\n            },\n        ),\n        body: Some(\n            ModuleBlock(\n                [\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                ],\n            ),\n        ),\n    },\n)"
  ],
  "pats": [],
  "exprs": [],
  "module_decls": [],
  "functions": [],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 227..235,\n        name: Ident {\n            span: 227..235,\n            sym: \"Derived\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 280..285,\n        name: Ident {\n            span: 280..285,\n            sym: \"Base\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 340..349,\n        name: Ident {\n            span: 340..349,\n            sym: \"Derived2\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 435..437,\n        name: Ident {\n            span: 435..437,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 500..508,\n        name: Ident {\n            span: 500..508,\n            sym: \"Derived\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 584..593,\n        name: Ident {\n            span: 584..593,\n            sym: \"Derived2\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 679..684,\n        name: Ident {\n            span: 679..684,\n            sym: \"Base\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 773..781,\n        name: Ident {\n            span: 773..781,\n            sym: \"Derived\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 871..880,\n        name: Ident {\n            span: 871..880,\n            sym: \"Derived2\",\n        },\n        type_args: [],\n    },\n)"
  ]
}
