Add code sample for `babel-flow` parser (#6631)

master
fisker Cheung 2019-10-10 00:10:24 +08:00 committed by Simon Lydell
parent 282d1017f3
commit 9805496c4d
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ export default function(parser) {
"}"
].join("\n");
case "flow":
case "babel-flow":
return [
"declare export function graphql<Props, Variables, Component: React$ComponentType<Props>>",
" (query: GQLDocument, config?: Config<Props, QueryConfigOptions<Variables>>):",