mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[ez] Run Prettier on eslint-plugin-react-compiler/src/types
Extracting portions of #32416 for easier review. This PR contains small formatting fixes. Co-authored-by: michael faith <michaelfaith@users.noreply.github.com>
This commit is contained in:
co-authored by
michael faith
parent
1326153ca1
commit
2009bb34d7
+2
-2
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
// v0.17.1
|
||||
declare module "hermes-eslint" {
|
||||
declare module 'hermes-eslint' {
|
||||
// https://fburl.com/2vikhmaa
|
||||
type ParseForESLintOptions = {
|
||||
/**
|
||||
@@ -37,7 +37,7 @@ declare module "hermes-eslint" {
|
||||
/**
|
||||
* The source type of the script.
|
||||
*/
|
||||
sourceType: "script" | "module";
|
||||
sourceType: 'script' | 'module';
|
||||
|
||||
/**
|
||||
* Ignore <fbt /> JSX elements when adding references to the module-level `React` variable.
|
||||
|
||||
+3
-3
@@ -6,14 +6,14 @@
|
||||
*/
|
||||
|
||||
// v0.17.1
|
||||
declare module "hermes-parser" {
|
||||
declare module 'hermes-parser' {
|
||||
type HermesParserOptions = {
|
||||
allowReturnOutsideFunction?: boolean;
|
||||
babel?: boolean;
|
||||
flow?: "all" | "detect";
|
||||
flow?: 'all' | 'detect';
|
||||
enableExperimentalComponentSyntax?: boolean;
|
||||
sourceFilename?: string;
|
||||
sourceType?: "module" | "script" | "unambiguous";
|
||||
sourceType?: 'module' | 'script' | 'unambiguous';
|
||||
tokens?: boolean;
|
||||
};
|
||||
export function parse(code: string, options: Partial<HermesParserOptions>);
|
||||
|
||||
Reference in New Issue
Block a user