Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
961 changes: 516 additions & 445 deletions apps/oxlint/src-js/generated/deserialize.js

Large diffs are not rendered by default.

22 changes: 9 additions & 13 deletions apps/oxlint/src-js/generated/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`.

import { Comment, Span } from '../plugins/types.ts';
export { Comment, Span };
import { Span, Comment } from '../plugins/types.ts';
export { Span, Comment };

export interface Program extends Span {
type: 'Program';
Expand Down Expand Up @@ -587,12 +587,10 @@ export interface DebuggerStatement extends Span {
parent?: Node;
}

export type BindingPattern =
& ({
optional?: boolean;
typeAnnotation?: TSTypeAnnotation | null;
})
& (BindingIdentifier | ObjectPattern | ArrayPattern | AssignmentPattern);
export type BindingPattern = {
optional?: boolean;
typeAnnotation?: TSTypeAnnotation | null;
} & (BindingIdentifier | ObjectPattern | ArrayPattern | AssignmentPattern);

export type BindingPatternKind = BindingIdentifier | ObjectPattern | ArrayPattern | AssignmentPattern;

Expand Down Expand Up @@ -677,11 +675,9 @@ export interface FormalParameterRest extends Span {
value?: null;
}

export type FormalParameter =
& ({
decorators?: Array<Decorator>;
})
& BindingPattern;
export type FormalParameter = {
decorators?: Array<Decorator>;
} & BindingPattern;

export interface TSParameterProperty extends Span {
type: 'TSParameterProperty';
Expand Down
Loading
Loading