Update references

This commit is contained in:
강동윤 2019-02-25 19:47:53 +09:00
parent b6a4d1548a
commit a75dbdf2f2
152 changed files with 585 additions and 713 deletions

View File

@ -66,7 +66,7 @@ pub struct TsTypeCastExpr {
pub struct TsParamProp { pub struct TsParamProp {
#[serde(default)] #[serde(default)]
pub span: Span, pub span: Span,
#[serde(default,skip_serializing_if="Vec::is_empty")] #[serde(default, skip_serializing_if = "Vec::is_empty")]
pub decorators: Vec<Decorator>, pub decorators: Vec<Decorator>,
/// At least one of `accessibility` or `readonly` must be set. /// At least one of `accessibility` or `readonly` must be set.
#[serde(default, skip_serializing_if = "Option::is_none")] #[serde(default, skip_serializing_if = "Option::is_none")]
@ -476,7 +476,7 @@ pub enum TsTypeOperatorOp {
pub struct TsIndexedAccessType { pub struct TsIndexedAccessType {
#[serde(default)] #[serde(default)]
pub span: Span, pub span: Span,
#[serde(rename="objectType")] #[serde(rename = "objectType")]
pub obj_type: Box<TsType>, pub obj_type: Box<TsType>,
pub index_type: Box<TsType>, pub index_type: Box<TsType>,
} }
@ -552,7 +552,11 @@ pub struct TsMappedType {
pub type_param: TsTypeParam, pub type_param: TsTypeParam,
#[serde(default, skip_serializing_if = "Option::is_none")] #[serde(default, skip_serializing_if = "Option::is_none")]
pub optional: Option<TruePlusMinus>, pub optional: Option<TruePlusMinus>,
#[serde(default,rename="typeAnnotation", skip_serializing_if = "Option::is_none")] #[serde(
default,
rename = "typeAnnotation",
skip_serializing_if = "Option::is_none"
)]
pub type_ann: Option<Box<TsType>>, pub type_ann: Option<Box<TsType>>,
} }
@ -560,7 +564,7 @@ pub struct TsMappedType {
pub struct TsLitType { pub struct TsLitType {
#[serde(default)] #[serde(default)]
pub span: Span, pub span: Span,
#[serde(rename="literal")] #[serde(rename = "literal")]
pub lit: TsLit, pub lit: TsLit,
} }

View File

@ -21,7 +21,7 @@
"end": 9, "end": 9,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 1, "start": 1,

View File

@ -125,7 +125,7 @@
"end": 276, "end": 276,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 86, "start": 86,
@ -255,7 +255,7 @@
"end": 183, "end": 183,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 154, "start": 154,
@ -320,7 +320,7 @@
"end": 253, "end": 253,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 200, "start": 200,

View File

@ -125,7 +125,7 @@
"end": 228, "end": 228,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 86, "start": 86,

View File

@ -29,7 +29,7 @@
"end": 10, "end": 10,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 4, "start": 4,
@ -61,7 +61,7 @@
"end": 19, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 13, "start": 13,

View File

@ -56,9 +56,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
} }

View File

@ -84,8 +84,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }

View File

@ -29,7 +29,7 @@
"end": 14, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 13, "start": 13,
@ -45,8 +45,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
"optional": false "optional": false
@ -88,9 +87,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -101,7 +98,7 @@
"end": 18, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 17, "start": 17,
@ -117,8 +114,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
} }

View File

@ -16,7 +16,7 @@
"params": [ "params": [
{ {
"type": "RestElement", "type": "RestElement",
"dot3Token": { "rest": {
"start": 6, "start": 6,
"end": 9, "end": 9,
"ctxt": 0 "ctxt": 0
@ -38,7 +38,7 @@
"end": 21, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsArrayType", "type": "TsArrayType",
"span": { "span": {
"start": 16, "start": 16,
@ -76,7 +76,7 @@
"end": 28, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 25, "start": 25,

View File

@ -16,7 +16,7 @@
"params": [ "params": [
{ {
"type": "RestElement", "type": "RestElement",
"dot3Token": { "rest": {
"start": 7, "start": 7,
"end": 10, "end": 10,
"ctxt": 0 "ctxt": 0
@ -38,7 +38,7 @@
"end": 21, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsArrayType", "type": "TsArrayType",
"span": { "span": {
"start": 16, "start": 16,
@ -76,7 +76,7 @@
"end": 28, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 25, "start": 25,

View File

@ -29,7 +29,7 @@
"end": 17, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 11, "start": 11,
@ -61,7 +61,7 @@
"end": 23, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 20, "start": 20,

View File

@ -36,7 +36,7 @@
"end": 10, "end": 10,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 4, "start": 4,

View File

@ -23,7 +23,7 @@
}, },
"properties": [ "properties": [
{ {
"type": "AssignPatternProperty", "type": "AssignmentPatternProperty",
"span": { "span": {
"start": 3, "start": 3,
"end": 8, "end": 8,

View File

@ -29,7 +29,7 @@
"end": 69, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 68, "start": 68,
@ -45,8 +45,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
"optional": false "optional": false
@ -88,9 +87,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -101,7 +98,7 @@
"end": 73, "end": 73,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 72, "start": 72,
@ -117,8 +114,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
} }

View File

@ -29,7 +29,7 @@
"end": 8, "end": 8,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 7, "start": 7,
@ -45,8 +45,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
"optional": false "optional": false
@ -88,9 +87,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -101,7 +98,7 @@
"end": 12, "end": 12,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 11, "start": 11,
@ -117,8 +114,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
} }

View File

@ -29,7 +29,7 @@
"end": 11, "end": 11,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 5, "start": 5,
@ -61,7 +61,7 @@
"end": 17, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 14, "start": 14,

View File

@ -29,7 +29,7 @@
"end": 7, "end": 7,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 4, "start": 4,
@ -60,7 +60,7 @@
"end": 21, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypePredicate", "type": "TsTypePredicate",
"span": { "span": {
"start": 8, "start": 8,
@ -77,14 +77,14 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 15, "start": 15,
"end": 21, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 15, "start": 15,

View File

@ -13,7 +13,7 @@
"end": 1, "end": 1,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 0, "start": 0,
@ -23,7 +23,7 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 5, "start": 5,
@ -39,8 +39,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
{ {
@ -50,7 +49,7 @@
"end": 13, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "BinaryExpression", "type": "BinaryExpression",
"span": { "span": {
"start": 8, "start": 8,
@ -79,7 +78,7 @@
"optional": false "optional": false
} }
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 17, "start": 17,
@ -114,7 +113,7 @@
"end": 56, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 55, "start": 55,
@ -123,7 +122,7 @@
}, },
"value": 1.0 "value": 1.0
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 60, "start": 60,
@ -141,14 +140,14 @@
"end": 100, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsAsExpression", "type": "TsAsExpression",
"span": { "span": {
"start": 92, "start": 92,
"end": 93, "end": 93,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 92, "start": 92,
@ -158,7 +157,7 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 97, "start": 97,
@ -168,7 +167,7 @@
"kind": "any" "kind": "any"
} }
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 104, "start": 104,
@ -184,8 +183,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
] ]

View File

@ -21,7 +21,7 @@
"end": 2, "end": 2,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 1, "start": 1,
@ -31,7 +31,7 @@
"value": "a", "value": "a",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 6, "start": 6,

View File

@ -21,14 +21,14 @@
"end": 12, "end": 12,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsAsExpression", "type": "TsAsExpression",
"span": { "span": {
"start": 1, "start": 1,
"end": 2, "end": 2,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 1, "start": 1,
@ -38,7 +38,7 @@
"value": "a", "value": "a",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 6, "start": 6,
@ -48,7 +48,7 @@
"kind": "number" "kind": "number"
} }
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 16, "start": 16,

View File

@ -20,14 +20,14 @@
"end": 7, "end": 7,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsTypeAssertion", "type": "TsTypeAssertion",
"span": { "span": {
"start": 2, "start": 2,
"end": 6, "end": 6,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 5, "start": 5,
@ -37,7 +37,7 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 2, "start": 2,
@ -53,8 +53,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
}, },
@ -84,14 +83,14 @@
"end": 19, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsAsExpression", "type": "TsAsExpression",
"span": { "span": {
"start": 12, "start": 12,
"end": 13, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 12, "start": 12,
@ -101,7 +100,7 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 17, "start": 17,
@ -117,8 +116,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
}, },
@ -148,7 +146,7 @@
"end": 25, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 23, "start": 23,

View File

@ -21,7 +21,7 @@
"end": 2, "end": 2,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 0, "start": 0,

View File

@ -40,7 +40,7 @@
"end": 16, "end": 16,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "CallExpression", "type": "CallExpression",
"span": { "span": {
"start": 10, "start": 10,

View File

@ -21,7 +21,7 @@
"end": 2, "end": 2,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 0, "start": 0,

View File

@ -21,7 +21,7 @@
"end": 2, "end": 2,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 0, "start": 0,

View File

@ -20,7 +20,7 @@
"end": 2, "end": 2,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 0, "start": 0,

View File

@ -13,7 +13,7 @@
"end": 2, "end": 2,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 0, "start": 0,

View File

@ -30,7 +30,7 @@
"end": 14, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 13, "start": 13,
@ -39,7 +39,7 @@
}, },
"value": 1.0 "value": 1.0
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 5, "start": 5,

View File

@ -21,14 +21,14 @@
"end": 12, "end": 12,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsTypeAssertion", "type": "TsTypeAssertion",
"span": { "span": {
"start": 2, "start": 2,
"end": 11, "end": 11,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 10, "start": 10,
@ -38,7 +38,7 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 2, "start": 2,

View File

@ -21,7 +21,7 @@
"end": 10, "end": 10,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 9, "start": 9,
@ -30,7 +30,7 @@
}, },
"value": 1.0 "value": 1.0
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 1, "start": 1,

View File

@ -13,7 +13,7 @@
"end": 10, "end": 10,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 9, "start": 9,
@ -22,7 +22,7 @@
}, },
"value": 1.0 "value": 1.0
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 1, "start": 1,

View File

@ -100,7 +100,7 @@
}, },
"decl": { "decl": {
"type": "ClassExpression", "type": "ClassExpression",
"ident": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 194, "start": 194,

View File

@ -108,7 +108,7 @@
"end": 66, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 63, "start": 63,
@ -135,7 +135,7 @@
"end": 85, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 78, "start": 78,

View File

@ -58,7 +58,7 @@
"end": 35, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 29, "start": 29,
@ -85,7 +85,7 @@
"end": 46, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 40, "start": 40,
@ -133,7 +133,7 @@
"end": 74, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 68, "start": 68,
@ -160,7 +160,7 @@
"end": 85, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 79, "start": 79,
@ -208,7 +208,7 @@
"end": 110, "end": 110,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 107, "start": 107,
@ -235,7 +235,7 @@
"end": 118, "end": 118,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 115, "start": 115,

View File

@ -43,7 +43,7 @@
"end": 32, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 26, "start": 26,
@ -56,14 +56,14 @@
"optional": false "optional": false
} }
], ],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 33, "start": 33,
"end": 38, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 35, "start": 35,
@ -119,14 +119,14 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 52, "start": 52,
"end": 60, "end": 60,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 54, "start": 54,
@ -208,7 +208,7 @@
"end": 84, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 80, "start": 80,

View File

@ -13,7 +13,7 @@
"end": 43, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ClassExpression", "type": "ClassExpression",
"span": { "span": {
"start": 1, "start": 1,
@ -65,8 +65,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
}, },
@ -78,7 +77,7 @@
"end": 39, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsQualifiedName", "type": "TsQualifiedName",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
@ -125,8 +124,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }
@ -141,9 +139,9 @@
"end": 90, "end": 90,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ClassExpression", "type": "ClassExpression",
"ident": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 52, "start": 52,
@ -203,8 +201,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
}, },
@ -216,7 +213,7 @@
"end": 86, "end": 86,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsQualifiedName", "type": "TsQualifiedName",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
@ -263,8 +260,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }

View File

@ -13,7 +13,7 @@
"end": 25, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ClassExpression", "type": "ClassExpression",
"span": { "span": {
"start": 1, "start": 1,
@ -65,8 +65,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }
@ -79,9 +78,9 @@
"end": 54, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ClassExpression", "type": "ClassExpression",
"ident": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 34, "start": 34,
@ -141,8 +140,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }

View File

@ -13,7 +13,7 @@
"end": 13, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ClassExpression", "type": "ClassExpression",
"span": { "span": {
"start": 1, "start": 1,
@ -45,9 +45,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
} }
@ -60,9 +58,9 @@
"end": 30, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ClassExpression", "type": "ClassExpression",
"ident": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 22, "start": 22,
@ -102,9 +100,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
} }

View File

@ -13,7 +13,7 @@
"end": 28, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ClassExpression", "type": "ClassExpression",
"span": { "span": {
"start": 1, "start": 1,
@ -29,7 +29,7 @@
"end": 24, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsQualifiedName", "type": "TsQualifiedName",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
@ -76,8 +76,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }
@ -92,9 +91,9 @@
"end": 60, "end": 60,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ClassExpression", "type": "ClassExpression",
"ident": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 37, "start": 37,
@ -118,7 +117,7 @@
"end": 56, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsQualifiedName", "type": "TsQualifiedName",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
@ -165,8 +164,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }

View File

@ -69,8 +69,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
}, },
@ -82,7 +81,7 @@
"end": 40, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsQualifiedName", "type": "TsQualifiedName",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
@ -129,8 +128,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }

View File

@ -69,8 +69,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }

View File

@ -87,16 +87,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 30, "start": 30,
"end": 38, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 32, "start": 32,
@ -105,8 +104,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -75,9 +75,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -88,7 +86,7 @@
"end": 36, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 32, "start": 32,

View File

@ -33,7 +33,7 @@
"end": 25, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsQualifiedName", "type": "TsQualifiedName",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
@ -80,8 +80,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }

View File

@ -43,7 +43,7 @@
"end": 24, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 18, "start": 18,
@ -56,14 +56,14 @@
"optional": false "optional": false
} }
], ],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 25, "start": 25,
"end": 30, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 27, "start": 27,
@ -98,7 +98,7 @@
"end": 55, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 49, "start": 49,
@ -111,14 +111,14 @@
"optional": false "optional": false
} }
], ],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 56, "start": 56,
"end": 61, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 58, "start": 58,

View File

@ -58,7 +58,7 @@
"end": 28, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 24, "start": 24,
@ -107,7 +107,7 @@
"end": 55, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 51, "start": 51,
@ -206,9 +206,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -219,7 +217,7 @@
"end": 95, "end": 95,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 91, "start": 91,

View File

@ -58,7 +58,7 @@
"end": 35, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 31, "start": 31,

View File

@ -77,7 +77,7 @@
"end": 39, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 35, "start": 35,
@ -145,7 +145,7 @@
"end": 71, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 67, "start": 67,

View File

@ -58,7 +58,7 @@
"end": 23, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 22, "start": 22,
@ -74,8 +74,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
"optional": false "optional": false
@ -95,7 +94,7 @@
"end": 30, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 29, "start": 29,
@ -111,15 +110,14 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
"optional": true "optional": true
}, },
{ {
"type": "RestElement", "type": "RestElement",
"dot3Token": { "rest": {
"start": 32, "start": 32,
"end": 35, "end": 35,
"ctxt": 0 "ctxt": 0
@ -141,7 +139,7 @@
"end": 41, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsArrayType", "type": "TsArrayType",
"span": { "span": {
"start": 38, "start": 38,
@ -164,8 +162,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
} }
@ -211,9 +208,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -224,7 +219,7 @@
"end": 45, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 44, "start": 44,
@ -240,8 +235,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
}, },
@ -327,9 +321,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -340,7 +332,7 @@
"end": 78, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 77, "start": 77,
@ -356,8 +348,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
}, },

View File

@ -90,7 +90,7 @@
"end": 32, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 28, "start": 28,

View File

@ -66,7 +66,7 @@
"end": 24, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 20, "start": 20,

View File

@ -66,7 +66,7 @@
"end": 23, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 19, "start": 19,

View File

@ -64,14 +64,14 @@
"value": "r2", "value": "r2",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 51, "start": 51,
"end": 59, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 53, "start": 53,

View File

@ -50,8 +50,6 @@
"end": 43, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [],
"accessibility": null,
"readonly": true, "readonly": true,
"param": { "param": {
"type": "Identifier", "type": "Identifier",
@ -71,7 +69,6 @@
"end": 61, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [],
"accessibility": "public", "accessibility": "public",
"readonly": false, "readonly": false,
"param": { "param": {
@ -89,7 +86,7 @@
"end": 72, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 66, "start": 66,
@ -109,7 +106,6 @@
"end": 91, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [],
"accessibility": "protected", "accessibility": "protected",
"readonly": false, "readonly": false,
"param": { "param": {
@ -130,7 +126,6 @@
"end": 112, "end": 112,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [],
"accessibility": "private", "accessibility": "private",
"readonly": false, "readonly": false,
"param": { "param": {
@ -148,7 +143,7 @@
"end": 124, "end": 124,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 118, "start": 118,
@ -168,7 +163,6 @@
"end": 149, "end": 149,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [],
"accessibility": "public", "accessibility": "public",
"readonly": true, "readonly": true,
"param": { "param": {
@ -189,8 +183,6 @@
"end": 214, "end": 214,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [],
"accessibility": null,
"readonly": true, "readonly": true,
"param": { "param": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
@ -227,7 +219,6 @@
"end": 236, "end": 236,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [],
"accessibility": "public", "accessibility": "public",
"readonly": false, "readonly": false,
"param": { "param": {
@ -252,7 +243,7 @@
"end": 247, "end": 247,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 241, "start": 241,

View File

@ -87,14 +87,14 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 30, "start": 30,
"end": 38, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 32, "start": 32,
@ -136,14 +136,14 @@
}, },
"value": 1.0 "value": 1.0
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 45, "start": 45,
"end": 53, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 47, "start": 47,
@ -199,14 +199,14 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 73, "start": 73,
"end": 81, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 75, "start": 75,

View File

@ -60,14 +60,14 @@
}, },
"computed": false "computed": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 31, "start": 31,
"end": 39, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 33, "start": 33,
@ -119,14 +119,14 @@
}, },
"computed": false "computed": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 63, "start": 63,
"end": 71, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 65, "start": 65,

View File

@ -38,7 +38,7 @@
"end": 15, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 9, "start": 9,

View File

@ -0,0 +1,5 @@
const enum Foo {
A,
B,
C
}

View File

@ -0,0 +1,86 @@
{
"type": "Module",
"span": {
"start": 0,
"end": 38,
"ctxt": 0
},
"body": [
{
"type": "TsEnumDeclaration",
"span": {
"start": 0,
"end": 38,
"ctxt": 0
},
"declare": false,
"isConst": true,
"id": {
"type": "Identifier",
"span": {
"start": 11,
"end": 14,
"ctxt": 0
},
"value": "Foo",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
},
"value": "A",
"optional": false
}
},
{
"type": "TsEnumMember",
"span": {
"start": 28,
"end": 29,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 28,
"end": 29,
"ctxt": 0
},
"value": "B",
"optional": false
}
},
{
"type": "TsEnumMember",
"span": {
"start": 35,
"end": 36,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 35,
"end": 36,
"ctxt": 0
},
"value": "C",
"optional": false
}
}
]
}
]
}

View File

@ -63,7 +63,7 @@
"end": 25, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 19, "start": 19,
@ -101,7 +101,7 @@
"end": 51, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 45, "start": 45,

View File

@ -42,7 +42,7 @@
"end": 30, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 24, "start": 24,
@ -80,7 +80,7 @@
"end": 56, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 50, "start": 50,

View File

@ -31,8 +31,7 @@
"value": "Link", "value": "Link",
"optional": false "optional": false
}, },
"typeParams": null, "typeAnnotation": {
"typeAnn": {
"type": "TsTypeLiteral", "type": "TsTypeLiteral",
"span": { "span": {
"start": 19, "start": 19,
@ -60,16 +59,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 24, "start": 24,
"end": 32, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 26, "start": 26,
@ -78,8 +76,7 @@
}, },
"kind": "string" "kind": "string"
} }
}, }
"typeParams": null
}, },
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
@ -101,16 +98,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 38, "start": 38,
"end": 46, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 40, "start": 40,
@ -119,8 +115,7 @@
}, },
"kind": "string" "kind": "string"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,8 +24,7 @@
"value": "Link", "value": "Link",
"optional": false "optional": false
}, },
"typeParams": null, "typeAnnotation": {
"typeAnn": {
"type": "TsTypeLiteral", "type": "TsTypeLiteral",
"span": { "span": {
"start": 12, "start": 12,
@ -53,16 +52,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 17, "start": 17,
"end": 25, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 19, "start": 19,
@ -71,8 +69,7 @@
}, },
"kind": "string" "kind": "string"
} }
}, }
"typeParams": null
}, },
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
@ -94,16 +91,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 31, "start": 31,
"end": 39, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 33, "start": 33,
@ -112,8 +108,7 @@
}, },
"kind": "string" "kind": "string"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -42,7 +42,7 @@
"end": 61, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 58, "start": 58,
@ -69,7 +69,7 @@
"end": 85, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 71, "start": 71,
@ -98,8 +98,7 @@
"value": "IScope", "value": "IScope",
"optional": false "optional": false
} }
}, }
"typeParams": null
} }
}, },
"optional": false "optional": false
@ -119,7 +118,7 @@
"end": 114, "end": 114,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 95, "start": 95,
@ -148,8 +147,7 @@
"value": "IAttributes", "value": "IAttributes",
"optional": false "optional": false
} }
}, }
"typeParams": null
} }
}, },
"optional": false "optional": false

View File

@ -71,7 +71,7 @@
"end": 68, "end": 68,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "AssignmentExpression", "type": "AssignmentExpression",
"span": { "span": {
"start": 36, "start": 36,

View File

@ -13,7 +13,7 @@
"end": 13, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "ConditionalExpression", "type": "ConditionalExpression",
"span": { "span": {
"start": 1, "start": 1,

View File

@ -13,7 +13,7 @@
"end": 182, "end": 182,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 7, "start": 7,
@ -76,7 +76,7 @@
"end": 82, "end": 82,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 64, "start": 64,
@ -141,7 +141,7 @@
"end": 158, "end": 158,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 118, "start": 118,

View File

@ -125,7 +125,7 @@
"end": 228, "end": 228,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 86, "start": 86,

View File

@ -38,7 +38,7 @@
"end": 23, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 17, "start": 17,
@ -74,7 +74,7 @@
"end": 34, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 28, "start": 28,

View File

@ -32,7 +32,7 @@
}, },
"properties": [ "properties": [
{ {
"type": "AssignPatternProperty", "type": "AssignmentPatternProperty",
"span": { "span": {
"start": 16, "start": 16,
"end": 17, "end": 17,
@ -50,7 +50,7 @@
} }
}, },
{ {
"type": "AssignPatternProperty", "type": "AssignmentPatternProperty",
"span": { "span": {
"start": 19, "start": 19,
"end": 20, "end": 20,
@ -75,7 +75,7 @@
"end": 48, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeLiteral", "type": "TsTypeLiteral",
"span": { "span": {
"start": 24, "start": 24,
@ -103,16 +103,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 27, "start": 27,
"end": 35, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 29, "start": 29,
@ -121,8 +120,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
}, },
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
@ -144,16 +142,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 38, "start": 38,
"end": 46, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 40, "start": 40,
@ -162,8 +159,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": true, "declare": true,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",

View File

@ -69,7 +69,7 @@
"end": 33, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 30, "start": 30,

View File

@ -42,8 +42,7 @@
}, },
"value": "const", "value": "const",
"optional": false "optional": false
}, }
"init": null
}, },
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
@ -61,8 +60,7 @@
}, },
"value": "default", "value": "default",
"optional": false "optional": false
}, }
"init": null
} }
] ]
} }

View File

@ -42,8 +42,7 @@
}, },
"value": "foo", "value": "foo",
"hasEscape": false "hasEscape": false
}, }
"init": null
}, },
{ {
"type": "TsEnumMember", "type": "TsEnumMember",

View File

@ -42,8 +42,7 @@
}, },
"value": "A", "value": "A",
"optional": false "optional": false
}, }
"init": null
} }
] ]
} }

View File

@ -42,8 +42,7 @@
}, },
"value": "A", "value": "A",
"optional": false "optional": false
}, }
"init": null
}, },
{ {
"type": "TsEnumMember", "type": "TsEnumMember",

View File

@ -24,8 +24,7 @@
}, },
"value": "hot-new-module", "value": "hot-new-module",
"hasEscape": false "hasEscape": false
}, }
"body": null
} }
] ]
} }

View File

@ -45,7 +45,7 @@
"end": 30, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 24, "start": 24,
@ -98,7 +98,7 @@
"end": 65, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 61, "start": 61,
@ -163,7 +163,6 @@
"optional": false "optional": false
}, },
"declare": true, "declare": true,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -201,8 +200,7 @@
"value": "T", "value": "T",
"optional": false "optional": false
}, },
"typeParams": null, "typeAnnotation": {
"typeAnn": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 147, "start": 147,

View File

@ -13,7 +13,7 @@
"end": 11, "end": 11,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 9, "start": 9,

View File

@ -35,7 +35,7 @@
"end": 19, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 18, "start": 18,
@ -51,8 +51,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
"optional": true "optional": true
@ -98,9 +97,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -111,7 +108,7 @@
"end": 23, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 22, "start": 22,
@ -127,8 +124,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
} }

View File

@ -51,7 +51,7 @@
"end": 27, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 26, "start": 26,
@ -67,8 +67,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
"optional": true "optional": true
@ -114,9 +113,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -127,7 +124,7 @@
"end": 31, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 30, "start": 30,
@ -143,8 +140,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
}, },

View File

@ -35,7 +35,7 @@
"end": 26, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 22, "start": 22,
@ -92,9 +92,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"constraint": null,
"default": null
} }
] ]
}, },
@ -105,7 +103,7 @@
"end": 54, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 53, "start": 53,
@ -121,8 +119,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
} }
} }

View File

@ -31,7 +31,7 @@
"end": 34, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 28, "start": 28,
@ -59,7 +59,7 @@
"end": 41, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 37, "start": 37,

View File

@ -42,7 +42,7 @@
"end": 27, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 21, "start": 21,
@ -70,7 +70,7 @@
"end": 36, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 30, "start": 30,
@ -118,7 +118,7 @@
"end": 65, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 59, "start": 59,
@ -146,7 +146,7 @@
"end": 74, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 68, "start": 68,

View File

@ -35,7 +35,7 @@
"end": 17, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 14, "start": 14,
@ -71,7 +71,7 @@
"end": 32, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypePredicate", "type": "TsTypePredicate",
"span": { "span": {
"start": 18, "start": 18,
@ -88,14 +88,14 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 25, "start": 25,
"end": 32, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 25, "start": 25,
@ -115,7 +115,7 @@
"end": 71, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "FunctionExpression", "type": "FunctionExpression",
"params": [ "params": [
{ {
@ -133,7 +133,7 @@
"end": 52, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 49, "start": 49,
@ -169,7 +169,7 @@
"end": 67, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypePredicate", "type": "TsTypePredicate",
"span": { "span": {
"start": 53, "start": 53,
@ -186,14 +186,14 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 60, "start": 60,
"end": 67, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 60, "start": 60,

View File

@ -32,7 +32,7 @@
"end": 23, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 19, "start": 19,

View File

@ -32,7 +32,7 @@
"end": 30, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 26, "start": 26,

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -57,7 +56,7 @@
"end": 28, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 22, "start": 22,
@ -70,14 +69,14 @@
"optional": false "optional": false
} }
], ],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 29, "start": 29,
"end": 35, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 31, "start": 31,
@ -86,8 +85,7 @@
}, },
"kind": "void" "kind": "void"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -57,7 +56,7 @@
"end": 32, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 26, "start": 26,
@ -70,14 +69,14 @@
"optional": false "optional": false
} }
], ],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 33, "start": 33,
"end": 39, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 35, "start": 35,
@ -86,8 +85,7 @@
}, },
"kind": "void" "kind": "void"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -31,7 +31,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -69,7 +68,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [ "extends": [
{ {
"type": "TsExpressionWithTypeArguments", "type": "TsExpressionWithTypeArguments",
@ -33,7 +32,7 @@
"end": 26, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"expr": { "expression": {
"type": "TsQualifiedName", "type": "TsQualifiedName",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
@ -80,8 +79,7 @@
}, },
"value": "Z", "value": "Z",
"optional": false "optional": false
}, }
"typeParams": null
} }
] ]
} }

View File

@ -86,16 +86,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 34, "start": 34,
"end": 42, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 36, "start": 36,
@ -104,8 +103,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -52,7 +51,7 @@
"end": 28, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 22, "start": 22,
@ -65,14 +64,14 @@
"optional": false "optional": false
} }
], ],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 29, "start": 29,
"end": 37, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 31, "start": 31,

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -81,7 +80,7 @@
"end": 43, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 39, "start": 39,
@ -90,8 +89,7 @@
}, },
"kind": "void" "kind": "void"
} }
}, }
"typeParams": null
}, },
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
@ -140,7 +138,7 @@
"end": 77, "end": 77,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 71, "start": 71,
@ -149,8 +147,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -62,7 +61,7 @@
"end": 58, "end": 58,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 57, "start": 57,
@ -78,8 +77,7 @@
}, },
"value": "T", "value": "T",
"optional": false "optional": false
}, }
"typeParams": null
} }
}, },
"typeParams": { "typeParams": {
@ -144,16 +142,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 42, "start": 42,
"end": 50, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 44, "start": 44,
@ -162,8 +159,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -62,7 +61,7 @@
"end": 28, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 24, "start": 24,
@ -71,8 +70,7 @@
}, },
"kind": "void" "kind": "void"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -54,9 +53,7 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"params": [], "params": []
"typeAnn": null,
"typeParams": null
}, },
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
@ -94,7 +91,7 @@
"end": 39, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 33, "start": 33,
@ -108,7 +105,7 @@
}, },
{ {
"type": "RestElement", "type": "RestElement",
"dot3Token": { "rest": {
"start": 41, "start": 41,
"end": 44, "end": 44,
"ctxt": 0 "ctxt": 0
@ -130,7 +127,7 @@
"end": 55, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsArrayType", "type": "TsArrayType",
"span": { "span": {
"start": 47, "start": 47,
@ -157,7 +154,7 @@
"end": 62, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 58, "start": 58,
@ -166,8 +163,7 @@
}, },
"kind": "void" "kind": "void"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -54,16 +53,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 28, "start": 28,
"end": 36, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 30, "start": 30,
@ -72,8 +70,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -54,10 +53,7 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null, "params": []
"params": [],
"typeAnn": null,
"typeParams": null
}, },
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
@ -79,16 +75,15 @@
}, },
"computed": false, "computed": false,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 26, "start": 26,
"end": 34, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 28, "start": 28,
@ -97,8 +92,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
}, },
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
@ -120,16 +114,15 @@
}, },
"computed": false, "computed": false,
"optional": true, "optional": true,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 42, "start": 42,
"end": 50, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 44, "start": 44,
@ -138,8 +131,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
} }
] ]
} }

View File

@ -24,7 +24,6 @@
"optional": false "optional": false
}, },
"declare": false, "declare": false,
"typeParams": null,
"extends": [], "extends": [],
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
@ -73,16 +72,15 @@
}, },
"computed": true, "computed": true,
"optional": false, "optional": false,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 35, "start": 35,
"end": 43, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 37, "start": 37,
@ -91,8 +89,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
}, },
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
@ -133,16 +130,15 @@
}, },
"computed": true, "computed": true,
"optional": true, "optional": true,
"init": null,
"params": [], "params": [],
"typeAnn": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 67, "start": 67,
"end": 75, "end": 75,
"ctxt": 0 "ctxt": 0
}, },
"type_annotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 69, "start": 69,
@ -151,8 +147,7 @@
}, },
"kind": "number" "kind": "number"
} }
}, }
"typeParams": null
} }
] ]
} }

Some files were not shown because too many files have changed in this diff Show More