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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -38,7 +38,7 @@
"end": 15,
"ctxt": 0
},
"type_annotation": {
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"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,
"ctxt": 0
},
"type_annotation": {
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 19,
@ -101,7 +101,7 @@
"end": 51,
"ctxt": 0
},
"type_annotation": {
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 45,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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