Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 8, 2024
1 parent fc4f0ac commit 98bfac9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/oxc_traverse/scripts/lib/parse.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { typeAndWrappers } from './utils.mjs';

const FILENAMES = ['js.rs', 'jsx.rs', 'literal.rs', 'ts.rs'];


/**
* @typedef {Record<string, StructType | EnumType>} Types
*/
Expand Down Expand Up @@ -60,7 +59,6 @@ const FILENAMES = ['js.rs', 'jsx.rs', 'literal.rs', 'ts.rs'];
* @property {string | null} enterScopeBefore
*/


/**
* Parse type defs from Rust files.
*
Expand Down Expand Up @@ -120,7 +118,7 @@ class Lines {
/**
* @param {string} code
* @param {string} filename
*
*
* @returns {Lines}
*/
static fromCode(code, filename) {
Expand Down Expand Up @@ -233,7 +231,7 @@ function parseStruct(name, rawName, lines, scopeArgs) {
*/
function parseEnum(name, rawName, lines) {
/** @type {Variant[]} */
const variants = []
const variants = [];
/** @type {string[]} */
const inherits = [];

Expand Down

0 comments on commit 98bfac9

Please sign in to comment.