Skip to content

Commit

Permalink
build: dedupe @babel/types in lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfaith committed Feb 18, 2025
1 parent 765b5ab commit 185347d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 367 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// v0.17.1
declare module "hermes-eslint" {
declare module 'hermes-eslint' {
// https://fburl.com/2vikhmaa
type ParseForESLintOptions = {
/**
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>);
Expand Down
Loading

0 comments on commit 185347d

Please sign in to comment.