[ts] Default typeAnnotation of TSTypePredicate to null (#13354)

This commit is contained in:
Sosuke Suzuki
2021-05-24 03:12:42 +09:00
committed by GitHub
parent 533e63af52
commit d6a5f6190d
7 changed files with 13 additions and 6 deletions

View File

@@ -99,7 +99,8 @@
"start":106,"end":111,"loc":{"start":{"line":2,"column":42},"end":{"line":2,"column":47},"identifierName":"value"},
"name": "value"
},
"asserts": true
"asserts": true,
"typeAnnotation": null
}
},
"id": null,

View File

@@ -45,7 +45,8 @@
"type": "TSThisType",
"start":25,"end":29,"loc":{"start":{"line":2,"column":15},"end":{"line":2,"column":19}}
},
"asserts": true
"asserts": true,
"typeAnnotation": null
}
},
"body": {

View File

@@ -44,7 +44,8 @@
"start":57,"end":62,"loc":{"start":{"line":1,"column":57},"end":{"line":1,"column":62},"identifierName":"value"},
"name": "value"
},
"asserts": true
"asserts": true,
"typeAnnotation": null
}
}
}

View File

@@ -97,7 +97,8 @@
"start":108,"end":113,"loc":{"start":{"line":2,"column":44},"end":{"line":2,"column":49},"identifierName":"value"},
"name": "value"
},
"asserts": true
"asserts": true,
"typeAnnotation": null
}
},
"body": {

View File

@@ -47,7 +47,8 @@
"start":62,"end":67,"loc":{"start":{"line":1,"column":62},"end":{"line":1,"column":67},"identifierName":"value"},
"name": "value"
},
"asserts": true
"asserts": true,
"typeAnnotation": null
}
}
}