File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
apps/oxlint/src-js/generated
tasks/ast_tools/src/generators Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`.
33
44import type { Program } from "./types.d.ts" ;
5- import type { NodeOrToken } from "../plugins/types.ts" ;
5+ import type { Node , Comment } from "../plugins/types.ts" ;
66import type { Location as SourceLocation } from "../plugins/location.ts" ;
77
88type BufferWithArrays = Uint8Array & { uint32 : Uint32Array ; float64 : Float64Array } ;
9- type GetLoc = ( node : NodeOrToken ) => SourceLocation ;
9+ type GetLoc = ( node : Node | Comment ) => SourceLocation ;
1010
1111export declare function deserializeProgramOnly (
1212 buffer : BufferWithArrays ,
Original file line number Diff line number Diff line change @@ -208,11 +208,11 @@ fn generate_deserializers(
208208 #[ rustfmt:: skip]
209209 let code_type_definition_linter = "
210210 import type { Program } from './types.d.ts';
211- import type { NodeOrToken } from '../plugins/types.ts';
211+ import type { Node, Comment } from '../plugins/types.ts';
212212 import type { Location as SourceLocation } from '../plugins/location.ts';
213213
214214 type BufferWithArrays = Uint8Array & { uint32: Uint32Array; float64: Float64Array };
215- type GetLoc = (node: NodeOrToken ) => SourceLocation;
215+ type GetLoc = (node: Node | Comment ) => SourceLocation;
216216
217217 export declare function deserializeProgramOnly(
218218 buffer: BufferWithArrays,
You can’t perform that action at this time.
0 commit comments