Add code sample for `babel-flow` parser (#6631)
parent
282d1017f3
commit
9805496c4d
|
@ -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>>):",
|
||||
|
|
Loading…
Reference in New Issue