{
  "programs": [
    "Program {\n    span: 51..238,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)"
  ],
  "decls": [
    "TsInterface(\n    TsInterfaceDecl {\n        span: 51..138,\n        ident: Ident {\n            span: 61..64,\n            sym: \"Foo\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 69..99,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 69..78,\n                            sym: \"required1\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 90..119,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 90..99,\n                            sym: \"required2\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 111..131,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 111..119,\n                            sym: \"optional\",\n                        },\n                    ),\n                ),\n                optional: true,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 133..182,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 133..176,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 177..238,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 177..237,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 139..143,\n        sym: \"foo1\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 144..176,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 183..187,\n        sym: \"foo2\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 188..237,\n        left: _,\n        right: _,\n    },\n)"
  ],
  "exprs": [
    "Lit(\n    Str(\n        StrLit {\n            span: 159..166,\n            value: \"hello\",\n        },\n    ),\n)",
    "Object(\n    ObjectExpr {\n        span: 146..171,\n        props: [\n            KeyValueProp {\n                span: 148..168,\n                key: Ident(\n                    Ident {\n                        span: 148..157,\n                        sym: \"required1\",\n                    },\n                ),\n                value: _,\n            },\n        ],\n    },\n)",
    "TsAs(\n    TsAsExpr {\n        span: 169..176,\n        expr: _,\n        ty: _,\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 203..210,\n            value: \"hello\",\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 222..227,\n            value: \"bar\",\n        },\n    ),\n)",
    "Object(\n    ObjectExpr {\n        span: 190..232,\n        props: [\n            KeyValueProp {\n                span: 192..211,\n                key: Ident(\n                    Ident {\n                        span: 192..201,\n                        sym: \"required1\",\n                    },\n                ),\n                value: _,\n            },\n            KeyValueProp {\n                span: 212..229,\n                key: Ident(\n                    Ident {\n                        span: 212..220,\n                        sym: \"optional\",\n                    },\n                ),\n                value: _,\n            },\n        ],\n    },\n)",
    "TsAs(\n    TsAsExpr {\n        span: 230..237,\n        expr: _,\n        ty: _,\n    },\n)"
  ],
  "module_decls": [],
  "functions": [],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 172..176,\n        name: Ident {\n            span: 172..176,\n            sym: \"Foo\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 233..237,\n        name: Ident {\n            span: 233..237,\n            sym: \"Foo\",\n        },\n        type_args: [],\n    },\n)"
  ]
}
