Support Flow this parameter annotations (#12234)

This commit is contained in:
Daniel Sainati
2021-02-21 11:44:27 -05:00
committed by GitHub
parent 407e8b5c7b
commit 16e9f1c8e5
149 changed files with 3010 additions and 83 deletions

View File

@@ -61,6 +61,7 @@
"params": [],
"rest": null,
"typeParameters": null,
"this": null,
"returnType": {
"type": "VoidTypeAnnotation",
"start":44,"end":48,"loc":{"start":{"line":3,"column":13},"end":{"line":3,"column":17}}

View File

@@ -41,6 +41,7 @@
"start":19,"end":31,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":31}},
"params": [],
"rest": null,
"this": null,
"returnType": {
"type": "NumberTypeAnnotation",
"start":25,"end":31,"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":31}}

View File

@@ -42,6 +42,7 @@
"params": [],
"rest": null,
"typeParameters": null,
"this": null,
"returnType": {
"type": "NumberTypeAnnotation",
"start":24,"end":30,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":30}}