diff --git a/dev-test/githunt/flow.flow.js b/dev-test/githunt/flow.flow.js index 0a075078e5b..de1b602f903 100644 --- a/dev-test/githunt/flow.flow.js +++ b/dev-test/githunt/flow.flow.js @@ -1,4 +1,4 @@ -/* @flow */ +// @flow // @flow diff --git a/dev-test/test-schema/flow-types.flow.js b/dev-test/test-schema/flow-types.flow.js index c6aac9297a0..c124fc94bea 100644 --- a/dev-test/test-schema/flow-types.flow.js +++ b/dev-test/test-schema/flow-types.flow.js @@ -1,4 +1,4 @@ -/* @flow */ +// @flow import { type GraphQLResolveInfo } from 'graphql'; export type $RequireFields = $Diff & diff --git a/packages/plugins/flow/flow/src/index.ts b/packages/plugins/flow/flow/src/index.ts index 2401cec8353..f927193607d 100644 --- a/packages/plugins/flow/flow/src/index.ts +++ b/packages/plugins/flow/flow/src/index.ts @@ -11,7 +11,7 @@ export const plugin: PluginFunction documents: Types.DocumentFile[], config: FlowPluginConfig ) => { - const header = `/* @flow */\n\n`; + const header = `// @flow \n\n`; const printedSchema = printSchema(schema); const astNode = parse(printedSchema); const visitor = new FlowVisitor(schema, config);