mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Update Postprocessor definition (#41132)
This commit is contained in:
parent
e2f509ace4
commit
cc41c14a00
2
types/nearley/index.d.ts
vendored
2
types/nearley/index.d.ts
vendored
@ -83,7 +83,7 @@ export interface ParserRule {
|
||||
postprocess?: Postprocessor;
|
||||
}
|
||||
|
||||
export type Postprocessor = (data: any[], reference: number, wantedBy: {}) => void;
|
||||
export type Postprocessor = (data: any[], reference?: number, wantedBy?: {}) => void;
|
||||
|
||||
export interface Lexer {
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user