We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c021f79 commit 7eb742aCopy full SHA for 7eb742a
scripts/print-warnings/print-warnings.js
@@ -79,7 +79,19 @@ gs([
79
const warningsArray = Array.from(warnings);
80
warningsArray.sort();
81
process.stdout.write(
82
- `export default ${JSON.stringify(warningsArray, null, 2)};\n`
+ `/**
83
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
84
+ *
85
+ * This source code is licensed under the MIT license found in the
86
+ * LICENSE file in the root directory of this source tree.
87
88
+ * @flow strict
89
+ * @noformat
90
+ * @oncall react_core
91
+ */
92
+
93
+export default ${JSON.stringify(warningsArray, null, 2)};
94
+`
95
);
96
} else {
97
0 commit comments